mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 00:40:06 -04:00
fix(highlights): improve member/property distinction
This commit is contained in:
parent
2f38c36294
commit
fa38f4e6f9
34 changed files with 106 additions and 95 deletions
|
|
@ -95,18 +95,18 @@
|
|||
(class_body
|
||||
(property_declaration
|
||||
(pattern
|
||||
(simple_identifier) @property)))
|
||||
(simple_identifier) @variable.member)))
|
||||
|
||||
(protocol_property_declaration
|
||||
(pattern
|
||||
(simple_identifier) @property))
|
||||
(simple_identifier) @variable.member))
|
||||
|
||||
(navigation_expression
|
||||
(navigation_suffix
|
||||
(simple_identifier) @property))
|
||||
(simple_identifier) @variable.member))
|
||||
|
||||
(value_argument
|
||||
name: (value_argument_label) @property)
|
||||
name: (value_argument_label) @variable.member)
|
||||
|
||||
(import_declaration
|
||||
"import" @keyword.import)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue