mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
Lua: update highlights
This commit is contained in:
parent
5504b84d21
commit
0928b918a0
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue