-
Notifications
You must be signed in to change notification settings - Fork 46
Description
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:
- execute
vim :CocCommand explorer- Open file in any language with syntax errors
- Move cursor to error point
- No inline diagnostics
Expected behavior
To see inline diagnostics