diff options
| -rw-r--r-- | queries/lua/highlights.scm | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 6efdece7a..4ce331fa6 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -13,24 +13,48 @@ "while" @keyword "repeat" @keyword "for" @keyword +(break_statement) @keyword +"goto" @keyword ;; Operators "~=" @operator "==" @operator +"<=" @operator +">=" @operator "not" @operator "and" @operator "or" @operator +"<" @operator +">" @operator + +"+" @operator +"-" @operator +"%" @operator +"/" @operator +"//" @operator +"*" @operator +"^" @operator +"&" @operator +"~" @operator +"|" @operator +">>" @operator +"<<" @operator +".." @operator +"#" @operator ;; Constants (false) @constant (true) @constant (nil) @constant +(spread) @constant ;; "..." ;; Nodes (function "function" @function "end" @function) +(table "{" @operator "}" @operator) (comment) @comment (string) @string -(number) @constant +(number) @number +(label_statement) @label ;; Error (ERROR) @Error |
