mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
fix(lua): correctly highlight field names
This commit is contained in:
parent
9cfd3377e3
commit
f0ab5edab9
1 changed files with 2 additions and 1 deletions
|
|
@ -138,7 +138,8 @@
|
|||
(string) @string
|
||||
(number) @number
|
||||
(label_statement) @label
|
||||
(field (identifier) @field)
|
||||
; A bit of a tricky one, this will only match field names
|
||||
(field . (identifier) @field (_))
|
||||
(shebang) @comment
|
||||
|
||||
;; Error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue