-
-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching sessions multiple times will cause nvim to be in a suspended state #5230
Comments
@wwqwq2313 I change the coc#rpc#stop() function as your direction commit, but it's still not working for me. suspended state when :exit nvim |
And sometimes got this error when load session: |
Can't reproduce on macOS and Linux, looks like the nvim instance on WSL slow to respond. Disable |
Disable session.saveOnVimLeave still been suspended when exit. |
My config is here: https://github.com/zhruith/nvim |
If have two session switch in cycle for three times, will suspend again. |
Try minimal vimrc, only coc.nvim + coc-lists. Guess that nvim has some performance issues on Windows. |
Oh yeah, is working now. just have lazy.nvim and coc.nvim. thanks for your help. |
The reason is 'lewis6991/gitsigns.nvim', disabled it will working well. |
Switching session multiple times(two or more, random), when exit nvim will cause nvim to be in a suspended state, can't exit. have to close the terminal.
Test platform: windows 11 and wsl(Ubuntu) both.
Switch command: CocCommand session.load
cocinfo:
versions
vim version: NVIM v0.10.2
node version: v23.4.0
coc.nvim version: 0.0.82-aacbbcad 2024-11-23 13:34:02 +0800
coc.nvim directory: C:\Users\zhrui.vim\plugged\coc.nvim
term: xterm-256color
platform: win32
Log of coc.nvim
2024-12-21T19:13:28.548 WARN (pid:12436) [workspace] - Extension "coc-lists" registered synchronized autocmd "VimLeavePre", which could be slow.
2024-12-21T19:13:28.575 INFO (pid:12436) [plugin] - coc.nvim initialized with node: v23.4.0 after 185
2024-12-21T19:13:30.731 INFO (pid:12436) [attach] - receive notification: openList [ 'commands' ]
2024-12-21T19:13:32.744 INFO (pid:12436) [attach] - receive notification: openList [ 'vimcommands' ]
The text was updated successfully, but these errors were encountered: