neovim / go-client

Nvim Go client
https://pkg.go.dev/github.com/neovim/go-client
Apache License 2.0
561 stars 37 forks source link

nvim.Serve() does not return after exiting nvim. #153

Closed akiyosi closed 2 months ago

akiyosi commented 1 year ago

After https://github.com/neovim/neovim/commit/1d16bba4d8b8b648d2dabd610924bcf3051a0f29, nvim.Serve() will not return if the following steps are taken to exit Neovim.

  1. Run goneovim with the following

    /path/to/goneovim -u NONE --cmd 'set clipboard=unnamed' /path/to/file
  2. Yank any text, then :wq

I have created a minimal program to reproduce this problem. https://github.com/akiyosi/test-go-nvim-ui

akiyosi commented 1 year ago

Note that this problem is 100% reproducible on Linux; I have seen some reports of the problem occurring on Windows, but have not been able to confirm this. Also, the problem is not reproducible on MacOS. I understand that this is because the ownership of the clipboard is different in MacOS than in other operating systems.

akiyosi commented 7 months ago

related: related: https://github.com/neovim/neovim/issues/26743

akiyosi commented 2 months ago

This issue will be closed with the closing of Issue https://github.com/neovim/neovim/issues/26743.