mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
feat(keywords) add keyword.return & keyword.yield
This commit is contained in:
parent
859c743296
commit
bd9095e969
23 changed files with 112 additions and 25 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue