I am currently closing neovim by executing a "qa" command and it works fine. But the same command returns an error about closed session. I looked neovim documentation about any way to quit all programmatically but I couldn't found a way to do it. Is there a way to do it programmatically like an api call or am I already doing this right? If I am doing this right why Command returns an error? This question may seem strange and I am sorry for that but error message is really annoying.
The error is:
msgpack/rpc: session closed
I am currently closing neovim by executing a "qa" command and it works fine. But the same command returns an error about closed session. I looked neovim documentation about any way to quit all programmatically but I couldn't found a way to do it. Is there a way to do it programmatically like an api call or am I already doing this right? If I am doing this right why Command returns an error? This question may seem strange and I am sorry for that but error message is really annoying. The error is:
msgpack/rpc: session closed