fix(lua): correctly highlight field names

This commit is contained in:
Thomas Vigouroux 2021-04-22 17:15:34 +02:00 committed by Stephan Seitz
parent 9cfd3377e3
commit f0ab5edab9

View file

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