mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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`
|
||||
For comment blocks.
|
||||
|
||||
*hl-TSConstructor*
|
||||
`TSConstructor`
|
||||
For constructor calls and definitions: `{}` in Lua, and Java constructors.
|
||||
|
||||
*hl-TSConditional*
|
||||
`TSConditional`
|
||||
For keywords related to conditionnals.
|
||||
|
|
@ -471,6 +467,10 @@ For constant that are built in the language: `nil` in Lua.
|
|||
`TSConstMacro`
|
||||
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*
|
||||
`TSError`
|
||||
For syntax/parser errors.
|
||||
|
|
@ -513,6 +513,10 @@ For keywords that don't fall in previous categories.
|
|||
`TSKeywordFunction`
|
||||
For keywords used to define a fuction.
|
||||
|
||||
*hl-TSKeywordOperator*
|
||||
`TSKeywordOperator`
|
||||
for operators that are English words, e.g. `and`, `as`, `or`.
|
||||
|
||||
*hl-TSLabel*
|
||||
`TSLabel`
|
||||
For labels: `label:` in C and `:label:` in Lua.
|
||||
|
|
@ -527,7 +531,7 @@ For identifiers referring to modules and namespaces.
|
|||
|
||||
*hl-None*
|
||||
`TSNone`
|
||||
TODO: docs
|
||||
For no highlighting.
|
||||
|
||||
*hl-TSNumber*
|
||||
`TSNumber`
|
||||
|
|
@ -621,6 +625,22 @@ Literal text.
|
|||
`TSURI`
|
||||
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*
|
||||
`TSNote`
|
||||
Text representation of an informational note.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue