Sorry for depending on another PR, it's just that I have a hard time building this project if I'm not using poetry.
I noticed that on my system, when I missed to shut down neovim before shutting down my computer, the socket file remained and I got very suspicious behavior starting up a new instance of neovim (failed to attach to the brand new process). I tracked it down a quirk in neovim: If $NVIM_LISTEN_ADDRESS already exists, it ignores it. So I made this PR in order to detect these cases and give a friendly error
Note: Depends on #158.
Sorry for depending on another PR, it's just that I have a hard time building this project if I'm not using poetry.
I noticed that on my system, when I missed to shut down neovim before shutting down my computer, the socket file remained and I got very suspicious behavior starting up a new instance of neovim (failed to attach to the brand new process). I tracked it down a quirk in neovim: If
$NVIM_LISTEN_ADDRESS
already exists, it ignores it. So I made this PR in order to detect these cases and give a friendly error