diff options
Diffstat (limited to 'queries/lua')
| -rw-r--r-- | queries/lua/highlights.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 9f7661a45..be221885f 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -79,7 +79,7 @@ ] @operator ;; Punctuation -[ "," "." ] @punctuation.delimiter +[ "," "." ":"] @punctuation.delimiter ;; Brackets [ @@ -104,6 +104,12 @@ [(function_name) (identifier)] @function "end" @keyword.function) +(property_identifier) @property +(method) @method + +(function_call (identifier) @function . (arguments)) +(function_call (field_expression (property_identifier) @function) . (arguments)) + ;; Nodes (table ["{" "}"] @constructor) (comment) @comment |
