mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
Set property color for destructuring assignment
This commit is contained in:
parent
16f4833b57
commit
398ec42d30
1 changed files with 4 additions and 0 deletions
|
|
@ -12,6 +12,10 @@
|
||||||
(property_identifier) @property
|
(property_identifier) @property
|
||||||
(shorthand_property_identifier) @property
|
(shorthand_property_identifier) @property
|
||||||
|
|
||||||
|
(variable_declarator
|
||||||
|
name: (object_pattern
|
||||||
|
(shorthand_property_identifier_pattern))) @property
|
||||||
|
|
||||||
; Special identifiers
|
; Special identifiers
|
||||||
;--------------------
|
;--------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue