Set function scope

This commit is contained in:
Corey Williamson 2020-10-04 20:13:32 -05:00 committed by Stephan Seitz
parent 0aa4940f8b
commit 85791a4316

View file

@ -8,7 +8,9 @@
(arg_name) @definition.parameter
(functiondef) @scope
(function_statement (function_name) @definition.function) @scope
((function_statement
(function_name) @definition.function) @scope
(#set! definition.function.scope "parent"))
(program) @scope
(if_statement) @scope