Completion performance is slow on large projects
I am currently working on a large C++ projects and sometimes the completion menu blocks vim completely for a few seconds. I have also tried coc.nvim on the same project with no issues, so it is definitely not clangd, which is causing this.
I am assuming the client is requesting too many things from the server somehow, which then sends back a large message. Any advice on how to improve completion speed?
Things I've tried:
- turning off
useBufferCompletion - setting
bufferCompletionTimeout: 10
Not sure what else to do!
It seems there are changes needed in Vim before yegappan can make the plugin async. He started on something here: https://github.com/yegappan/vim/tree/lsp-async
Good to know! Probably not easy to implement that!