aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/nvim-treesitter.txt30
1 files changed, 25 insertions, 5 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index 3ee7eee14..778f4567c 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -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.