-d: don't open each filename twice

Fixes https://github.com/mhinz/neovim-remote/issues/123
pull/124/head
Marco Hinz 5 years ago
parent 8985d10da5
commit e1626a8ba0
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

@ -442,6 +442,7 @@ def main(argv=sys.argv, env=os.environ):
elif arguments and options.d:
# Emulate `vim -d`.
options.O = arguments
arguments = []
if options.remote_send:
nvr.server.input(options.remote_send)

Loading…
Cancel
Save