mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -04:00
docs: update nvim-treesitter-highlights
This commit is contained in:
parent
1cc06ac8ba
commit
4a80228220
1 changed files with 25 additions and 5 deletions
|
|
@ -451,10 +451,6 @@ For characters.
|
||||||
`TSComment`
|
`TSComment`
|
||||||
For comment blocks.
|
For comment blocks.
|
||||||
|
|
||||||
*hl-TSConstructor*
|
|
||||||
`TSConstructor`
|
|
||||||
For constructor calls and definitions: `{}` in Lua, and Java constructors.
|
|
||||||
|
|
||||||
*hl-TSConditional*
|
*hl-TSConditional*
|
||||||
`TSConditional`
|
`TSConditional`
|
||||||
For keywords related to conditionnals.
|
For keywords related to conditionnals.
|
||||||
|
|
@ -471,6 +467,10 @@ For constant that are built in the language: `nil` in Lua.
|
||||||
`TSConstMacro`
|
`TSConstMacro`
|
||||||
For constants that are defined by macros: `NULL` in C.
|
For constants that are defined by macros: `NULL` in C.
|
||||||
|
|
||||||
|
*hl-TSConstructor*
|
||||||
|
`TSConstructor`
|
||||||
|
For constructor calls and definitions: `{}` in Lua, and Java constructors.
|
||||||
|
|
||||||
*hl-TSError*
|
*hl-TSError*
|
||||||
`TSError`
|
`TSError`
|
||||||
For syntax/parser errors.
|
For syntax/parser errors.
|
||||||
|
|
@ -513,6 +513,10 @@ For keywords that don't fall in previous categories.
|
||||||
`TSKeywordFunction`
|
`TSKeywordFunction`
|
||||||
For keywords used to define a fuction.
|
For keywords used to define a fuction.
|
||||||
|
|
||||||
|
*hl-TSKeywordOperator*
|
||||||
|
`TSKeywordOperator`
|
||||||
|
for operators that are English words, e.g. `and`, `as`, `or`.
|
||||||
|
|
||||||
*hl-TSLabel*
|
*hl-TSLabel*
|
||||||
`TSLabel`
|
`TSLabel`
|
||||||
For labels: `label:` in C and `:label:` in Lua.
|
For labels: `label:` in C and `:label:` in Lua.
|
||||||
|
|
@ -527,7 +531,7 @@ For identifiers referring to modules and namespaces.
|
||||||
|
|
||||||
*hl-None*
|
*hl-None*
|
||||||
`TSNone`
|
`TSNone`
|
||||||
TODO: docs
|
For no highlighting.
|
||||||
|
|
||||||
*hl-TSNumber*
|
*hl-TSNumber*
|
||||||
`TSNumber`
|
`TSNumber`
|
||||||
|
|
@ -621,6 +625,22 @@ Literal text.
|
||||||
`TSURI`
|
`TSURI`
|
||||||
Any URI like a link or email.
|
Any URI like a link or email.
|
||||||
|
|
||||||
|
*hl-TSMath*
|
||||||
|
`TSMath`
|
||||||
|
For LaTex-like math environments.
|
||||||
|
|
||||||
|
*hl-TSTextReference*
|
||||||
|
`TSTextReference`
|
||||||
|
For footnotes, text references, citations.
|
||||||
|
|
||||||
|
*hl-TSEnviroment*
|
||||||
|
`TSEnviroment`
|
||||||
|
For text environments of markup languages.
|
||||||
|
|
||||||
|
*hl-TSEnviromentName*
|
||||||
|
`TSEnviromentName`
|
||||||
|
For the name/the string indicating the type of text environment.
|
||||||
|
|
||||||
*hl-TSNote*
|
*hl-TSNote*
|
||||||
`TSNote`
|
`TSNote`
|
||||||
Text representation of an informational note.
|
Text representation of an informational note.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue