You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing huge performance regressions on some files (usually large ones or those with a lot of nesting) on current master (b8d1ffe). I have bisected this to 4f5c742, before that change (or reverting it) the problem goes away.
Neovim version
v0.9.5
Expected behavior
No lag upon context change or appearance
Actual behavior
Intolerable lag
Minimal config
localplugins= {
ts='https://github.com/nvim-treesitter/nvim-treesitter',
ts_context='https://github.com/nvim-treesitter/nvim-treesitter-context',
-- ADD ADDITIONAL PLUGINS THAT ARE _NECESSARY_ TO REPRODUCE THE ISSUE
}
forname, urlinpairs(plugins) dolocalinstall_path='/tmp/nvim/site/'..nameifvim.fn.isdirectory(install_path) ==0thenvim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
endvim.o.runtimepath=install_path..','..vim.o.runtimepathend-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Steps to reproduce
nvim --clean -u minimal.lua with some file (I used this file)
:TSContextEnable
Press M to move cursor to the middle (so context appears)
Scroll enough to get some context
Press H to move the cursor to the top (so context disappears)
Press M and experience lag for cursor movement and context reappearing (does not occur with :TSContextDisable)
Also occurs when scrolling through and the context is visible and needs to change.
The text was updated successfully, but these errors were encountered:
Description
I am seeing huge performance regressions on some files (usually large ones or those with a lot of nesting) on current master (b8d1ffe). I have bisected this to 4f5c742, before that change (or reverting it) the problem goes away.
Neovim version
v0.9.5
Expected behavior
No lag upon context change or appearance
Actual behavior
Intolerable lag
Minimal config
Steps to reproduce
nvim --clean -u minimal.lua
with some file (I used this file):TSContextEnable
M
to move cursor to the middle (so context appears)H
to move the cursor to the top (so context disappears)M
and experience lag for cursor movement and context reappearing (does not occur with:TSContextDisable
)Also occurs when scrolling through and the context is visible and needs to change.
The text was updated successfully, but these errors were encountered: