lsp icon indicating copy to clipboard operation
lsp copied to clipboard

Diagnostics isn't updated after fix sometimes

Open kohnish opened this issue 3 years ago • 1 comments

I haven't found a condition when it happens but sometimes fixing the clangd(clang-tidy) warning, highlight doesn't disappear. The only way to fix it is to restart the vim completely (e! doesn't help).

I'll update this issue as soon as I found the exact condition to reproduce this.

kohnish avatar Jan 27 '22 22:01 kohnish

autocmd BufWipeOut * call lsp#removeFile(expand('<abuf>')->str2nr()) might be the culprit.

kohnish avatar Feb 01 '22 22:02 kohnish

@kohnish this lsp author had push some commits perhaps fixed this yesterday, pls check..

Shane-XB-Qian avatar Oct 26 '22 11:10 Shane-XB-Qian

Thanks. Unfortunately I migrated to vim-lsc which seems to be more feature rich with differential diagnostics and hierarchy tree window and etc.
But I'll give lsp try again sometime and if I encounter this issue, I'll reopen this ticket.

kohnish avatar Oct 26 '22 17:10 kohnish

well, you can think this is lightweight and faster lsp client, besides you can customize some feature or local hack something by you own, that maybe some interesting thing, is'nt it? // rich always meant complex in nowdays, haha............ so do you like simple or rich? :-)

Shane-XB-Qian avatar Oct 26 '22 23:10 Shane-XB-Qian