feat(keywords) add keyword.return & keyword.yield

This commit is contained in:
antonk52 2021-07-04 19:55:59 +03:00 committed by Stephan Seitz
parent 859c743296
commit bd9095e969
23 changed files with 112 additions and 25 deletions

View file

@ -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