fix: invalid cursor pos for tree root

Also adds the `program` node to lua locals.
This commit is contained in:
Thomas Vigouroux 2020-05-09 12:04:54 +02:00
parent 307c78aa1e
commit d233ec4554
2 changed files with 6 additions and 0 deletions

View file

@ -35,6 +35,7 @@
((for_in_statement) @scope)
((repeat_statement) @scope)
((while_statement) @scope)
((program) @scope)
;;; REFERENCES
((identifier) @reference)