Open shadowphoenixpt opened 1 year ago
Having the same problem. Just opening the file with vim
works as expected. But once opened with coc-explorer
, it no longer shows any diagnostics. The signs are shown though, but not the messages.
I just updated CoC and all plugins and am now experiencing this. Error floats work as expected until sometime after coc-explorer
is opened, sometimes immediately, sometimes it will show a couple more before they stop working. Rolling back CoC to the last release commit, 1d3c525
, tagged v0.0.82
gets everything working again: https://github.com/neoclide/coc.nvim/releases/tag/v0.0.82
@shadowphoenixpt @RezwanArefin01
Update: Also finding that I need to rollback a couple other plugins like coc-tsserver
to versions released around the same time, which makes sense, but thought it was worth mentioning.
Describe the bug
Hello all,
I have been experimenting with coc-explorer to replace NERDTree. It mostly works fine, but I've stumbled upon a problem. After I open coc-explorer, I no longer get coc's inline diagnostics. I have experimented with both echo and float inline diagnostics, but it doesn't work on both. I have also tried different terminal emulators to no avail. The problem persists even after I close coc-explorer. I need to restart vim to bring diagnostics back.
Thank you.
versions
vim version: VIM - Vi IMproved 9.0 9001976 node version: v18.18.0 coc.nvim version: 0.0.82-d1568d56 2023-09-29 19:43:34 +0800 coc.nvim directory: /home/shadowphoenix/.vim/bundle/coc.nvim term: tmux platform: linux
Log of coc.nvim
2023-10-11T14:52:17.105 WARN (pid:215585) [workspace] - Extension "coc-lists" registered synchronized autocmd "VimLeavePre", which could be slow. 2023-10-11T14:52:17.284 INFO (pid:215585) [plugin] - coc.nvim initialized with node: v18.18.0 after 536 2023-10-11T14:52:18.684 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 4, 1 ] 2023-10-11T14:52:18.686 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 5, 1 ] 2023-10-11T14:52:19.406 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 4, 1 ] 2023-10-11T14:52:19.406 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 5, 1 ] 2023-10-11T14:52:19.430 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 2 ] 2023-10-11T14:52:20.362 INFO (pid:215585) [services] - LanguageClient Pyright Server state change: stopped => starting 2023-10-11T14:52:20.368 INFO (pid:215585) [attach] - receive notification: highlight [] 2023-10-11T14:52:20.369 INFO (pid:215585) [attach] - receive notification: runCommand [ 'explorer' ] 2023-10-11T14:52:20.372 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 4, 10 ] 2023-10-11T14:52:20.373 INFO (pid:215585) [attach] - receive notification: highlight [] 2023-10-11T14:52:20.373 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 2 ] 2023-10-11T14:52:20.440 INFO (pid:215585) [language-client-index] - Language server "pyright" started with 215671 2023-10-11T14:52:20.505 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 4, 11 ] 2023-10-11T14:52:20.712 INFO (pid:215585) [services] - LanguageClient Pyright Server state change: starting => running 2023-10-11T14:52:20.719 INFO (pid:215585) [services] - service pyright started 2023-10-11T14:52:22.826 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 8 ] 2023-10-11T15:02:47.888 INFO (pid:215585) [attach] - receive notification: showInfo [] 2023-10-11T15:02:47.891 INFO (pid:215585) [attach] - receive notification: doAutocmd [ 2 ]
Steps to reproduce Steps to reproduce the behavior:
vim
:CocCommand explorer
Expected behavior
To see inline diagnostics