nvim: colors/yolokai: Add semantic highlight groups
For more information, see https://www.reddit.com/r/neovim/comments/12gvms4/this_is_why_your_higlights_look_different_in_90/ https://github.com/Iron-E/nvim-highlite/blob/master-v3/colors/highlite.lua Changes are taken from the above two sources.
This commit is contained in:
parent
ceae4a0795
commit
4c409188be
1 changed files with 25 additions and 0 deletions
|
@ -213,6 +213,31 @@ local highlight_groups = {
|
|||
LspReferenceRead = 'InfoMsg',
|
||||
LspReferenceWrite = 'InfoMsg',
|
||||
|
||||
--[[ 4.2.15. LSP (for Semantic Token highlighting) ]]
|
||||
['@lsp.type.boolean'] = '@boolean' ,
|
||||
['@lsp.type.character'] = '@character' ,
|
||||
['@lsp.type.class'] = '@type' ,
|
||||
['@lsp.mod.constant'] = '@constant' ,
|
||||
['@lsp.type.decorator'] = '@function' ,
|
||||
['@lsp.type.enum'] = '@type' ,
|
||||
['@lsp.type.enumMember'] = '@constant' ,
|
||||
['@lsp.type.float'] = '@float' ,
|
||||
['@lsp.type.function'] = '@function' ,
|
||||
['@lsp.type.interface'] = '@type' ,
|
||||
['@lsp.type.macro'] = '@macro' ,
|
||||
['@lsp.type.method'] = '@method' ,
|
||||
['@lsp.type.namespace'] = '@namespace' ,
|
||||
['@lsp.type.number'] = '@number' ,
|
||||
['@lsp.type.operator'] = '@operator' ,
|
||||
['@lsp.type.parameter'] = '@parameter' ,
|
||||
['@lsp.type.property'] = '@property' ,
|
||||
['@lsp.mod.readonly'] = '@lsp.mod.constant',
|
||||
['@lsp.type.string'] = '@string' ,
|
||||
['@lsp.type.struct'] = '@structure' ,
|
||||
['@lsp.type.type'] = '@type' ,
|
||||
['@lsp.type.variable'] = '@variable' ,
|
||||
['@lsp.typemod.type.readonly'] = '@lsp.type.type' ,
|
||||
|
||||
--[[ 4.3. Programming Languages
|
||||
Everything in this section is OPTIONAL. Feel free to remove everything
|
||||
here if you don't want to define it, or add more if there's something
|
||||
|
|
Loading…
Reference in a new issue