mirror of
https://github.com/mhinz/neovim-remote
synced 2024-11-11 13:10:34 +00:00
Ignore only invalid addresses
This commit is contained in:
parent
a85aa94321
commit
13808fd5ec
@ -49,7 +49,7 @@ class Neovim():
|
|||||||
self.server = attach('tcp', address=ip, port=int(port))
|
self.server = attach('tcp', address=ip, port=int(port))
|
||||||
else:
|
else:
|
||||||
self.server = attach('socket', path=self.address)
|
self.server = attach('socket', path=self.address)
|
||||||
except:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def is_attached(self, silent=False):
|
def is_attached(self, silent=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user