Solution to a problem I had

For some time I couldn't figure out why nvim would seemingly ignore the `$NVIM_LISTEN_ADDRESS` I set. Apparently this was because a socket already existed on /tmp/nvimsocket Although /tmp is cleared after boot this might be a nice clarification for people who get stuck and don't try to reboot.
pull/146/head
sandersantema 4 years ago committed by GitHub
parent 1ec7c6c76a
commit 067289dba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,10 @@ If you encounter any issues, e.g. permission denied errors or you can't find the
Nvim always starts a server. Get its address via `:echo $NVIM_LISTEN_ADDRESS` or
`:echo v:servername`. Or specify an address at startup:
`NVIM_LISTEN_ADDRESS=/tmp/nvimsocket nvim`.
`NVIM_LISTEN_ADDRESS=/tmp/nvimsocket nvim`. Make sure the address which you
specified doesn't already exist as a file or socket. Nvim will not be able to
use the address if this is the case.
**nvr** will use `$NVIM_LISTEN_ADDRESS` or any address given to it via
`--servername`.

Loading…
Cancel
Save