summaryrefslogtreecommitdiff
path: root/doc/nvim-treesitter.txt
diff options
context:
space:
mode:
authorantonk52 <halloy52@gmail.com>2021-07-04 19:55:59 +0300
committerStephan Seitz <stephan.lauf@yahoo.de>2021-07-04 21:49:17 +0200
commitbd9095e96986fbb65829a3dbc598f9b35d9b7db2 (patch)
treea03f490fa20eb011bfb9cd1d5a3008df26bb6cbb /doc/nvim-treesitter.txt
parent859c7432967a34d9c51f5cb50d39242e519ae164 (diff)
feat(keywords) add keyword.return & keyword.yield
Diffstat (limited to 'doc/nvim-treesitter.txt')
-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 47ccdf72..3161ca58 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.