Merge pull request #295 from steelsojka/feature/set-scopes-for-definitions

feat(defintions): allow setting of scope
This commit is contained in:
Steven Sojka 2020-08-16 11:26:44 -05:00 committed by GitHub
commit 5462027beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
;------------