fix(shortmess): remove hardcoded workaround

**Why** is the change needed?

Based on my understanding of
https://github.com/mhinz/neovim-remote/issues/92#issuecomment-450494339,
this workaround is no longer needed. Being able to set `shortmess` is
useful for example when running in tmux.

Closes #153
pull/182/head
jrasmusbm 2 years ago
parent 1004d41696
commit f3840b412e

@ -95,10 +95,7 @@ class Nvr():
if not is_netrw_protocol(path):
path = os.path.abspath(path)
path = self.server.funcs.fnameescape(path)
shortmess = self.server.options['shortmess']
self.server.options['shortmess'] = shortmess.replace('F', '')
self.server.command(f'{cmd} {path}')
self.server.options['shortmess'] = shortmess
def diffthis(self):
if self.diffmode:

Loading…
Cancel
Save