-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cannot launch with another rpc client #30
Comments
To give a small overview of what's happening, one-small-step-for-vimkind (osv) is spawing a embedded instance of neovim to exchange DAP messages, this is required as part of its good operation. The problem is that flatten.nvim seem to exit that instance immediatly. I haven't tested the code so it's just suppositions but I think if an embedded neovim is spawned within neovim without any argument file, flatten.vnim kills it basically. If I'm correct, any plugin using an embedded neovim instance will be unusable with flatten.nvim. Maybe ask them about this. Even if osv spawns an instance with a dummy file, it will be killed. I don't have a good solution right now, I suggest talking to flatten.nvim's creator for solutions. EDIT: I have added a temporary workaround. It's very hacky so I still suggest talking to flatten's creator. It will basically unset $NVIM when spawning the embedded neovim which will not allow flatten.nvim to know it's embedded. Launch the osv server like this |
Thanks for the detailed explanation and temporary fix! I'll create an issue under flatten.nvim as well :)) |
Great, I'll make that ugly hack disappear once there is a better solution for it. |
Issue should be resolved now on flatten.nvim's side. Currently it requires enabling the |
Hi, I'm having trouble launching the server when I have another plugin flatten.nvim which connects to the nvim rpc server. Is there a solution to ensure both plugins work at the same time?
The text was updated successfully, but these errors were encountered: