mhinz / neovim-remote

:ok_hand: Support for --remote and friends.
MIT License
1.73k stars 83 forks source link

Error when `!nvr file.md` on nvim #171

Closed Odas0R closed 2 years ago

Odas0R commented 2 years ago

Opening a nvr instance nvr -s file.md and then !nvr file2.md on nvim will throw an error:

Traceback (most recent call last):
  File "/usr/local/bin/nvr", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/nvr/nvr.py", line 506, in main
    nvr.execute(arguments, 'edit', silent=True)
  File "/usr/local/lib/python3.9/site-packages/nvr/nvr.py", line 138, in execute
    self.fnameescaped_command(cmd, fname)
  File "/usr/local/lib/python3.9/site-packages/nvr/nvr.py", line 97, in fnameescaped_command
    path = self.server.funcs.fnameescape(path)
  File "/usr/local/lib/python3.9/site-packages/pynvim/api/nvim.py", line 299, in call

How can I communicate with nvim instances using the ! operator?