mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 05:50:04 -04:00
fix: invalid cursor pos for tree root
Also adds the `program` node to lua locals.
This commit is contained in:
parent
307c78aa1e
commit
d233ec4554
2 changed files with 6 additions and 0 deletions
|
|
@ -35,6 +35,7 @@
|
|||
((for_in_statement) @scope)
|
||||
((repeat_statement) @scope)
|
||||
((while_statement) @scope)
|
||||
((program) @scope)
|
||||
|
||||
;;; REFERENCES
|
||||
((identifier) @reference)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue