nvim: yolokai: Update syntax highlighting
- TSStructure was deprecated - TSVariable/TSVariableBuiltin/TSNamespace/TSComment seem to be newly introduced - Use a different color for functions and identifiers - Reorder alphabetically. Easier to compare against upstream doc
This commit is contained in:
parent
6336685b5e
commit
6929c30e2d
1 changed files with 48 additions and 42 deletions
|
@ -69,7 +69,7 @@ local highlight_groups = {
|
||||||
|
|
||||||
--[[ 4.1.2. Identifiers]]
|
--[[ 4.1.2. Identifiers]]
|
||||||
Identifier = {bg=NONE, fg=green, style=NONE},
|
Identifier = {bg=NONE, fg=green, style=NONE},
|
||||||
Function = {bg=NONE, fg=green, style=NONE},
|
Function = {bg=NONE, fg=darkgreen, style=NONE},
|
||||||
|
|
||||||
--[[ 4.1.3. Syntax]]
|
--[[ 4.1.3. Syntax]]
|
||||||
Statement = {bg=NONE, fg=pink, style=NONE },
|
Statement = {bg=NONE, fg=pink, style=NONE },
|
||||||
|
@ -556,48 +556,54 @@ local highlight_groups = {
|
||||||
NERDTreeLinkTarget = 'Tag' ,
|
NERDTreeLinkTarget = 'Tag' ,
|
||||||
|
|
||||||
--[[ 4.4.8. nvim-treesitter ]]
|
--[[ 4.4.8. nvim-treesitter ]]
|
||||||
TSError = 'Error',
|
TSAnnotation = 'SpecialChar',
|
||||||
TSPunctDelimiter = 'Delimiter',
|
TSAttribute = 'Normal',
|
||||||
TSPunctBracket = 'Delimiter',
|
TSBoolean = 'Boolean',
|
||||||
TSPunctSpecial = 'Special',
|
TSCharacter = 'Character',
|
||||||
|
TSComment = 'Comment',
|
||||||
|
TSConstructor = 'Typedef',
|
||||||
|
TSConditional = 'Conditional',
|
||||||
TSConstant = 'Constant',
|
TSConstant = 'Constant',
|
||||||
TSConstBuiltin = 'Type',
|
TSConstBuiltin = 'Type',
|
||||||
TSConstMacro = 'Define',
|
TSConstMacro = 'Define',
|
||||||
TSString = 'String',
|
TSError = 'Error',
|
||||||
TSStringRegex = 'String',
|
TSException = 'Exception',
|
||||||
TSStringEscape = 'SpecialChar',
|
TSField = 'Identifier',
|
||||||
TSCharacter = 'Character',
|
|
||||||
TSNumber = 'Number',
|
|
||||||
TSBoolean = 'Boolean',
|
|
||||||
TSFloat = 'Float',
|
TSFloat = 'Float',
|
||||||
TSFunction = 'Function',
|
TSFunction = 'Function',
|
||||||
TSFuncBuiltin = 'Special',
|
TSFuncBuiltin = 'Special',
|
||||||
TSFuncMacro = 'Macro',
|
TSFuncMacro = 'Macro',
|
||||||
TSParameter = 'Identifier',
|
TSInclude = 'Include',
|
||||||
TSParameterReference = 'Type',
|
|
||||||
TSMethod = 'Function',
|
|
||||||
TSField = 'Identifier',
|
|
||||||
TSProperty = 'Identifier',
|
|
||||||
TSConstructor = 'Type',
|
|
||||||
TSConditional = 'Conditional',
|
|
||||||
TSRepeat = 'Repeat',
|
|
||||||
TSLabel = 'Label',
|
|
||||||
TSOperator = 'Operator',
|
|
||||||
TSKeyword = 'Keyword',
|
TSKeyword = 'Keyword',
|
||||||
TSKeywordFunction = 'Keyword',
|
TSKeywordFunction = 'Keyword',
|
||||||
TSException = 'Exception',
|
TSLabel = 'Label',
|
||||||
TSType = 'Type',
|
TSMethod = 'Function',
|
||||||
TSTypeBuiltin = 'Type',
|
TSNamespace = 'Include',
|
||||||
TSStructure = 'Structure',
|
TSNone = 'NONE',
|
||||||
TSInclude = 'Include',
|
TSNumber = 'Number',
|
||||||
TSAnnotation = 'SpecialChar',
|
TSOperator = 'Operator',
|
||||||
|
TSParameter = 'Identifier',
|
||||||
|
TSParameterReference = 'Type',
|
||||||
|
TSProperty = 'Identifier',
|
||||||
|
TSPunctDelimiter = 'Delimiter',
|
||||||
|
TSPunctBracket = 'Delimiter',
|
||||||
|
TSPunctSpecial = 'Special',
|
||||||
|
TSRepeat = 'Repeat',
|
||||||
|
TSString = 'String',
|
||||||
|
TSStringRegex = 'String',
|
||||||
|
TSStringEscape = 'SpecialChar',
|
||||||
|
TSTag = 'Tag',
|
||||||
|
TSTagDelimiter = 'Delimiter',
|
||||||
TSText = 'String',
|
TSText = 'String',
|
||||||
TSStrong = 'Special',
|
|
||||||
TSEmphasis = 'Underlined',
|
TSEmphasis = 'Underlined',
|
||||||
TSUnderline = 'Underlined',
|
TSUnderline = 'Underlined',
|
||||||
TSTitle = 'Comment',
|
TSTitle = 'Comment',
|
||||||
TSLiteral = 'Character',
|
TSLiteral = 'Character',
|
||||||
TSURI = 'Tag',
|
TSURI = 'Tag',
|
||||||
|
TSType = 'Type',
|
||||||
|
TSTypeBuiltin = 'Type',
|
||||||
|
TSVariable = 'Identifier',
|
||||||
|
TSVariableBuiltin = 'Identifier',
|
||||||
|
|
||||||
--[[ 4.4.9 SearchLight ]]
|
--[[ 4.4.9 SearchLight ]]
|
||||||
SearchLight = {bg=black, fg=orange, style={'bold', 'italic', 'underline'}},
|
SearchLight = {bg=black, fg=orange, style={'bold', 'italic', 'underline'}},
|
||||||
|
|
Loading…
Reference in a new issue