nvim-treesitter-textobjects
nvim-treesitter-textobjects copied to clipboard
Disable with a function like for highlight
trafficstars
Is your feature request related to a problem? Please describe. At work I work with files few hundreds line and other C files that are >10K. If I do a swap or select argument or whatever entire UX freeze during 20 seconds.
Describe the solution you'd like I want like highlight pass a disable() function so I can check size of file to enable/disable
Describe alternatives you've considered Fix the slowness.
Please test Neovim nightly. Performance issues with tree-sitter parsing are being actively worked on.
just tested it out with the most recent nighly NVIM v0.11.0-dev-1918+ge46f07b1d2 it still freeze on my 15K lines C file