fix(lua): correctly handle do_statement in locals

This commit is contained in:
Thomas Vigouroux 2021-01-27 09:32:45 +01:00
parent b8a7f0ea38
commit 12181e236e

View file

@ -35,13 +35,17 @@
(function_definition) @scope
]
(program) @scope
((if_statement) @scope)
((for_in_statement) @scope)
((repeat_statement) @scope)
((while_statement) @scope)
[
(program)
(if_statement)
(for_in_statement)
(repeat_statement)
(while_statement)
(do_statement)
] @scope
;;; REFERENCES
((identifier) @reference)
((property_identifier) @reference)
[
(identifier)
(property_identifier)
] @reference