mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
fix(highlights): improve consistency
This commit is contained in:
parent
4cd951d703
commit
2f38c36294
22 changed files with 62 additions and 76 deletions
|
|
@ -71,10 +71,9 @@
|
|||
"constructor" @constructor
|
||||
|
||||
; Fields
|
||||
[
|
||||
(field_identifier)
|
||||
(annotation_key)
|
||||
] @variable.member
|
||||
(field_identifier) @variable.member
|
||||
|
||||
(annotation_key) @attribute
|
||||
|
||||
((field_identifier) @constant
|
||||
(#lua-match? @constant "^[%u_]*$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue