3 ms·
Treesitter is slower to parse a file initially but quicker at handling incremental changes. You probably won’t notice unless you open a huge source file.
by BaculumMeumEst 4y ago
Treesitter is slower to parse a file initially but quicker at handling incremental changes. You probably won’t notice unless you open a huge source file.
- robenkleene 4y agoNever used Treesitter, but I'd assume all this happens async? I.e., does Neovim actually block text editing untill the parsing is finished or do you just see unstyled content until it finishes? (I'd just be surprised if anything new worked that way in 2022, let alone something built for async like Neovim.)
- BaculumMeumEst 4y agoIt blocks text editing until it finishes.