mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
fix(locals): add js namespace import as definition
This commit is contained in:
parent
47b45ff883
commit
a8ec43da64
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@
|
|||
(import_specifier
|
||||
(identifier) @definition.import)
|
||||
|
||||
(namespace_import
|
||||
(identifier) @definition.import)
|
||||
|
||||
(function_declaration
|
||||
((identifier) @definition.var)
|
||||
(#set! definition.var.scope parent))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue