mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 15:00:04 -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
|
|
@ -36,14 +36,14 @@
|
|||
(default_case
|
||||
"default" @keyword.conditional)
|
||||
|
||||
; Properties
|
||||
; Attributes
|
||||
(attribute
|
||||
name: (identifier) @property)
|
||||
name: (identifier) @attribute)
|
||||
|
||||
(attribute
|
||||
name:
|
||||
(variable
|
||||
(identifier) @property))
|
||||
(identifier) @attribute))
|
||||
|
||||
; Parameters
|
||||
(lambda
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue