Open pati08 opened 5 months ago
For now, I'm going to just disable it in insert mode, probably.
Hmm, corn re-renders when any of the following autocmds are triggered
"DiagnosticChanged",
"CursorMoved",
"CursorMovedI",
"TextChanged",
"TextChangedI",
"WinResized",
"ModeChanged",
I will look into making the render cycle non-blocking. Perhaps also add a configurable throttle and implement a less aggressive re-rendering logic.
Thanks for your feedback!
Thanks, sounds good. If I knew more Lua, I might make a PR to help lol :)
Having the same problem in Python. After a while of coding, it becomes laggy and I have to reopen nvim to get rid of the lag.
Every keypress in insert mode with Rust Analyzer results in corn re-rendering, which seems to block all of neovim and make switching lines or typing insanely slow. I'm going to disable it because of this. With corn disabled, it does not lag so much. I believe that Corn does its rendering relatively slowly and in a way that holds everything up while it does its thing.