Closed starptr closed 3 years ago
You have to provide :CocInfo
after you get that lag and minimal vimrc to reproduce, also checkout :h CocActionAsync()
There're some logs added to trace this kind of issue, try upgrade coc.nvim and upload the log after you get lag.
Result from CocInfo
Describe the bug
By performing the profiling strategy described in this FAQ, I consistently catch the
<SNR>32_request()
function taking anywhere between 0.5 and 1 second to complete. I suspect this is causing lag.Reproduce the bug
I couldn't get coc-nvim to work without vim-plug:
Unfortunately, it is not consistent, but I did manage to get >1 second self-time confirmed in the same function at the same line with the profile.