mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
feat(ecma): variable definition from object destructure with alias
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
name: (object_pattern
|
||||
(shorthand_property_identifier_pattern) @local.definition.var))
|
||||
|
||||
(variable_declarator
|
||||
(object_pattern
|
||||
(pair_pattern
|
||||
(identifier) @local.definition.var)))
|
||||
|
||||
(import_specifier
|
||||
(identifier) @local.definition.import)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user