Open glepnir opened 11 months ago
Not sure how to debug this with only this information, at least the minimal_init.lua
file is missing
update .some format is wrong .
I don't face any issue without textobjects, so probably a problem from there?
@clason can you move the issue to the textobjs repo?
Same issue here
Same issue here, turning textobjects off and zig files open instantly, but with textobjects on it's like a second wait first time opening the buffer
EDIT: Looking into it a bit further, this ONLY seems to be the case when the "select" module is enabled. All other textobjects modules run fine. What's even weirder is that these issues only seem to occur on my beefy Linux desktop workstation (AMD Ryxen Threadripper 2950X 32 cores, with 96GiB RAM), whereas everything is smooth on my Macbook M1 with 16 GiB RAM...
EDIT2: I also experience significant slowdown when saving large zig files (on all my computers), but only if treesitter is used as foldmethod. Have worked around this with an auto command that sets foldmethod to manual when in zig files. So folding, and textobjects/select seem to be the issue. I can submit profiles of nvim while loading/saving files if interested
Describe the bug
when open cpp or zig file will hang a while
To Reproduce
min config
Expected behavior
shouldn't hange a while
Output of
:checkhealth nvim-treesitter
Output of
nvim --version
Additional context
https://github.com/nvim-treesitter/nvim-treesitter/assets/41671631/68eb4c0e-e800-4157-8979-1781115c1b88