mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(lua): highlights for attribute
This commit is contained in:
parent
adfebcfe75
commit
80b4fa7970
1 changed files with 4 additions and 3 deletions
|
|
@ -140,9 +140,10 @@
|
|||
(#eq? @keyword.coroutine "coroutine"))
|
||||
|
||||
(variable_list
|
||||
attribute: (attribute
|
||||
(["<" ">"] @punctuation.bracket
|
||||
(identifier) @attribute)))
|
||||
(attribute
|
||||
"<" @punctuation.bracket
|
||||
(identifier) @attribute
|
||||
">" @punctuation.bracket))
|
||||
|
||||
;; Labels
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue