aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/nvim-treesitter.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index 47ccdf72a..3161ca58d 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -528,6 +528,14 @@ For keywords used to define a fuction.
`TSKeywordOperator`
for operators that are English words, e.g. `and`, `as`, `or`.
+ *hl-TSKeywordReturn*
+`TSKeywordReturn`
+for the `return` keyword.
+
+ *hl-TSKeywordYield*
+`TSKeywordYield`
+for the `yield` keyword.
+
*hl-TSLabel*
`TSLabel`
For labels: `label:` in C and `:label:` in Lua.