Lua: update highlights

This commit is contained in:
Santos Gallegos 2020-09-05 09:27:13 -05:00 committed by Thomas Vigouroux
parent 5504b84d21
commit 0928b918a0

View file

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