locals: add more scopes

This commit is contained in:
Omar Zeghouani 2021-07-04 19:54:08 +01:00 committed by Stephan Seitz
parent 03f7bf7b49
commit 859c743296

View file

@ -1,5 +1,13 @@
;; Scopes
(function_definition) @scope
[
(command)
(function_definition)
(if_statement)
(for_statement)
(begin_statement)
(while_statement)
(switch_statement)
] @scope
;; Definitions
(function_definition