mirror of
https://github.com/ViViDboarder/wombat.nvim.git
synced 2024-11-14 01:56:26 +00:00
Update tree-sitter highlight groups
This commit is contained in:
parent
c64b482eb4
commit
01db662fd8
@ -204,50 +204,58 @@ local theme = lush(function()
|
|||||||
-- TSError -> Error for example, so you do not have to define these unless
|
-- TSError -> Error for example, so you do not have to define these unless
|
||||||
-- you explicitly want to support Treesitter's improved syntax awareness.
|
-- you explicitly want to support Treesitter's improved syntax awareness.
|
||||||
|
|
||||||
-- TSError { }, -- For syntax/parser errors.
|
-- TSAnnotation { }; -- For C++/Dart attributes, annotations that can be attached to the code to denote some kind of meta information.
|
||||||
-- TSPunctDelimiter { }, -- For delimiters ie: `.`
|
-- TSAttribute { }; -- (unstable) TODO: docs
|
||||||
-- TSPunctBracket { }, -- For brackets and parens.
|
-- TSBoolean { }; -- For booleans.
|
||||||
-- TSPunctSpecial { }, -- For special punctutation that does not fall in the catagories before.
|
-- TSCharacter { }; -- For characters.
|
||||||
-- TSConstant { }, -- For constants
|
-- TSComment { }; -- For comment blocks.
|
||||||
-- TSConstBuiltin { }, -- For constant that are built in the language: `nil` in Lua.
|
-- TSConstructor { }; -- For constructor calls and definitions: ` { }` in Lua, and Java constructors.
|
||||||
-- TSConstMacro { }, -- For constants that are defined by macros: `NULL` in C.
|
-- TSConditional { }; -- For keywords related to conditionnals.
|
||||||
-- TSString { }, -- For strings.
|
-- TSConstant { }; -- For constants
|
||||||
-- TSStringRegex { }, -- For regexes.
|
-- TSConstBuiltin { }; -- For constant that are built in the language: `nil` in Lua.
|
||||||
-- TSStringEscape { }, -- For escape characters within a string.
|
-- TSConstMacro { }; -- For constants that are defined by macros: `NULL` in C.
|
||||||
-- TSCharacter { }, -- For characters.
|
-- TSError { }; -- For syntax/parser errors.
|
||||||
-- TSNumber { }, -- For integers.
|
-- TSException { }; -- For exception related keywords.
|
||||||
-- TSBoolean { }, -- For booleans.
|
-- TSField { }; -- For fields.
|
||||||
-- TSFloat { }, -- For floats.
|
-- TSFloat { }; -- For floats.
|
||||||
-- TSFunction { }, -- For function (calls and definitions).
|
-- TSFunction { }; -- For function (calls and definitions).
|
||||||
-- TSFuncBuiltin { }, -- For builtin functions: `table.insert` in Lua.
|
-- TSFuncBuiltin { }; -- For builtin functions: `table.insert` in Lua.
|
||||||
-- TSFuncMacro { }, -- For macro defined fuctions (calls and definitions): each `macro_rules` in Rust.
|
-- TSFuncMacro { }; -- For macro defined fuctions (calls and definitions): each `macro_rules` in Rust.
|
||||||
-- TSParameter { }, -- For parameters of a function.
|
-- TSInclude { }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua.
|
||||||
-- TSParameterReference { }, -- For references to parameters of a function.
|
-- TSKeyword { }; -- For keywords that don't fall in previous categories.
|
||||||
-- TSMethod { }, -- For method calls and definitions.
|
-- TSKeywordFunction { }; -- For keywords used to define a fuction.
|
||||||
-- TSField { }, -- For fields.
|
-- TSLabel { }; -- For labels: `label:` in C and `:label:` in Lua.
|
||||||
-- TSProperty { }, -- Same as `TSField`.
|
-- TSMethod { }; -- For method calls and definitions.
|
||||||
-- TSConstructor { }, -- For constructor calls and definitions: `{ }` in Lua, and Java constructors.
|
-- TSNamespace { }; -- For identifiers referring to modules and namespaces.
|
||||||
-- TSConditional { }, -- For keywords related to conditionnals.
|
-- TSNone { }; -- TODO: docs
|
||||||
-- TSRepeat { }, -- For keywords related to loops.
|
-- TSNumber { }; -- For all numbers
|
||||||
-- TSLabel { }, -- For labels: `label:` in C and `:label:` in Lua.
|
-- TSOperator { }; -- For any operator: `+`, but also `->` and `*` in C.
|
||||||
-- TSOperator { }, -- For any operator: `+`, but also `->` and `*` in C.
|
-- TSParameter { }; -- For parameters of a function.
|
||||||
-- TSKeyword { }, -- For keywords that don't fall in previous categories.
|
-- TSParameterReference { }; -- For references to parameters of a function.
|
||||||
-- TSKeywordFunction { }, -- For keywords used to define a fuction.
|
-- TSProperty { }; -- Same as `TSField`.
|
||||||
-- TSException { }, -- For exception related keywords.
|
-- TSPunctDelimiter { }; -- For delimiters ie: `.`
|
||||||
-- TSType { }, -- For types.
|
-- TSPunctBracket { }; -- For brackets and parens.
|
||||||
-- TSTypeBuiltin { }, -- For builtin types (you guessed it, right ?).
|
-- TSPunctSpecial { }; -- For special punctutation that does not fall in the catagories before.
|
||||||
-- TSNamespace { }, -- For identifiers referring to modules and namespaces.
|
-- TSRepeat { }; -- For keywords related to loops.
|
||||||
-- TSInclude { }, -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua.
|
-- TSString { }; -- For strings.
|
||||||
-- TSAnnotation { }, -- For C++/Dart attributes, annotations that can be attached to the code to denote some kind of meta information.
|
-- TSStringRegex { }; -- For regexes.
|
||||||
-- TSText { }, -- For strings considered text in a markup language.
|
-- TSStringEscape { }; -- For escape characters within a string.
|
||||||
-- TSStrong { }, -- For text to be represented with strong.
|
-- TSSymbol { }; -- For identifiers referring to symbols or atoms.
|
||||||
-- TSEmphasis { }, -- For text to be represented with emphasis.
|
-- TSType { }; -- For types.
|
||||||
-- TSUnderline { }, -- For text to be represented with an underline.
|
-- TSTypeBuiltin { }; -- For builtin types.
|
||||||
-- TSTitle { }, -- Text that is part of a title.
|
-- TSVariable { }; -- Any variable name that does not have another highlight.
|
||||||
-- TSLiteral { }, -- Literal text.
|
-- TSVariableBuiltin { }; -- Variable names that are defined by the languages, like `this` or `self`.
|
||||||
-- TSURI { }, -- Any URI like a link or email.
|
|
||||||
-- TSVariable { }, -- Any variable name that does not have another highlight.
|
-- TSTag { }; -- Tags like html tag names.
|
||||||
-- TSVariableBuiltin { }, -- Variable names that are defined by the languages, like `this` or `self`.
|
-- TSTagDelimiter { }; -- Tag delimiter like `<` `>` `/`
|
||||||
|
-- TSText { }; -- For strings considered text in a markup language.
|
||||||
|
-- TSEmphasis { }; -- For text to be represented with emphasis.
|
||||||
|
-- TSUnderline { }; -- For text to be represented with an underline.
|
||||||
|
-- TSStrike { }; -- For strikethrough text.
|
||||||
|
-- TSTitle { }; -- Text that is part of a title.
|
||||||
|
-- TSLiteral { }; -- Literal text.
|
||||||
|
-- TSURI { }; -- Any URI like a link or email.
|
||||||
|
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user