mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -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
|
|
@ -19,7 +19,8 @@
|
|||
;; Basic statements/Keywords
|
||||
[ "if" "then" "elseif" "else" ] @conditional
|
||||
[ "for" "while" "repeat" "until" ] @repeat
|
||||
[ "in" "local" "return" (break) (goto) "do" "end" ] @keyword
|
||||
[ "in" "local" (break) (goto) "do" "end" ] @keyword
|
||||
[ "return" ] @keyword.return
|
||||
(label) @label
|
||||
|
||||
;; Global isn't a real keyword, but it gets special treatment in these places
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue