Open kaneruan opened 2 months ago
same issue
I think I haven found out the key problem now. That removed the below code would solve the problem.
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
So looks like this is neovim core issue then https://github.com/neovim/neovim/pull/27422, should we keep this issue open then or nah?
Have same issue even on small buffers/files. It related mostly to how long nvim is opened.
Upd: For some reason in debug mode all works fine. CopilotChat freezes not only chat screen, but whole nvim tab in kitty terminal window. This happens only during "animation" process, when spinner is animated and copilot response prints out line by line. In debug mode i forced to press enter on each line, and whole response text is appears on screen at the end, in one big piece, and no issue here. Is it possible to somehow disable this "animation" in easy way?
Phenomenon
When I use
:CopilotChatOptimise
on 1000 lines of code, it gets stuck at the end and Neovim becomes unresponsive. Pressing any key on the keyboard has no effect.version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068 Run "nvim -V1 -v" for more info
This is My lunarvim config