|
|
|
@ -414,7 +414,10 @@ def main(argv=sys.argv, env=os.environ):
|
|
|
|
|
print_addresses()
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
address = options.servername or env.get('NVIM') or env.get('NVIM_LISTEN_ADDRESS') or '/tmp/nvimsocket'
|
|
|
|
|
address = options.servername or env.get('NVIM') or env.get('NVIM_LISTEN_ADDRESS')
|
|
|
|
|
if not address:
|
|
|
|
|
# Since before build 17063 windows doesn't support unix socket, we need another way
|
|
|
|
|
address = '127.0.0.1:6789' if os.name == 'nt' else '/tmp/nvimsocket'
|
|
|
|
|
|
|
|
|
|
nvr = Nvr(address, options.s)
|
|
|
|
|
nvr.attach()
|
|
|
|
|