feat(definitions): allow setting of scope

This commit is contained in:
Steven Sojka 2020-08-15 06:35:05 -05:00
parent a9abe2b9b0
commit 7f7219b379
3 changed files with 70 additions and 3 deletions

View file

@ -43,6 +43,10 @@
(import_specifier
(identifier) @definition.import)
(function_declaration
((identifier) @definition.var)
(#set! definition.var.scope parent))
; References
;------------