docs: update nvim-treesitter-highlights

This commit is contained in:
Munif Tanjim 2021-04-24 20:41:34 +06:00 committed by Thomas Vigouroux
parent 1cc06ac8ba
commit 4a80228220

View file

@ -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.