diff options
| author | antonk52 <halloy52@gmail.com> | 2021-07-04 19:55:59 +0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-04 21:49:17 +0200 |
| commit | bd9095e96986fbb65829a3dbc598f9b35d9b7db2 (patch) | |
| tree | a03f490fa20eb011bfb9cd1d5a3008df26bb6cbb /queries/teal | |
| parent | 859c7432967a34d9c51f5cb50d39242e519ae164 (diff) | |
feat(keywords) add keyword.return & keyword.yield
Diffstat (limited to 'queries/teal')
| -rw-r--r-- | queries/teal/highlights.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/queries/teal/highlights.scm b/queries/teal/highlights.scm index 535a49cd..cf074d1f 100644 --- a/queries/teal/highlights.scm +++ b/queries/teal/highlights.scm @@ -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 |
