feat(keywords) merge return and yield into keyword.return group

This commit is contained in:
antonk52 2021-07-04 20:24:25 +03:00 committed by Stephan Seitz
parent bd9095e969
commit 90f15d9bf7
23 changed files with 20 additions and 69 deletions

View file

@ -20,7 +20,7 @@
[ "if" "then" "elseif" "else" ] @conditional
[ "for" "while" "repeat" "until" ] @repeat
[ "in" "local" (break) (goto) "do" "end" ] @keyword
[ "return" ] @keyword.return
"return" @keyword.return
(label) @label
;; Global isn't a real keyword, but it gets special treatment in these places