Closed aclementev closed 2 months ago
I am familiar with the textobjects project, but I figured it would be related to this parser, since I use it with other multiple languages and this is the only one that shows this behavior
that's not a parser issue - that's a query issue
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
Opening a rust buffer with the
textobject.select.enable = true
option set is very slow. The time difference when opening an emptyfoo.rs
file is very noticeable (on my setup it's around ~700ms).Steps To Reproduce/Bad Parse Tree
textobject.select
treesitter pluginnvim foo.rs
Expected Behavior/Parse Tree
I would expect the buffer to not take a noticeable amount of time to open (<300ms or something like that)
Repro
No response