Disable indexing progress reports #1349
-
Hi, I'm using coc LSP client plugin on vim with erlang_ls. Every time I open a source file or type in a buffer several progress bars pop up reporting indexing of the project files. This is a bit annoying and first time I see it happening. Other Language Servers I tried, mainly Gleam and Elixir ones, don't show this behaviour. I've posted a discussion on coc.nvim repo but didn't find a solution yet, so I'm asking here just in case there's a configuration setting for erlang_ls to disable this. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @miquecg! The progress bar should only appear once, when you open the project for the first time. We (should, unless there's a bug) respect the client capabilities when it comes to progress reports. Could we verify the arguments that your client is sending to the server during initialization? You could enable DEBUG logging and show us the init request from the logs. |
Beta Was this translation helpful? Give feedback.
-
Hi @miquecg , from the gist it looks like the client has the workdone-progress-reports enabled: Not sure how to disable it in VIM, though. |
Beta Was this translation helpful? Give feedback.
-
Just put this line into your
It should be possible to just supress progress for certain language servers, but I still need to figure out. |
Beta Was this translation helpful? Give feedback.
Just put this line into your
coc-settings.json
:It should be possible to just supress progress for certain language servers, but I still need to figure out.