mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Highlight named fields in struct literals
This commit is contained in:
parent
d3405a6946
commit
dcc5895e7c
1 changed files with 3 additions and 0 deletions
|
|
@ -196,6 +196,9 @@
|
|||
(false) @boolean
|
||||
(nil) @constant.builtin
|
||||
|
||||
(keyed_element
|
||||
. (literal_element (identifier) @field))
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(ERROR) @error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue