2
0
mirror of https://github.com/mhinz/neovim-remote synced 2024-11-11 13:10:34 +00:00

Revert "Temporarily reset &modified when opening files"

This reverts commit 6845b8b5a6.
This commit is contained in:
Marco Hinz 2017-08-07 01:58:31 +02:00
parent 6845b8b5a6
commit 64e9f486a1
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F
2 changed files with 1 additions and 8 deletions

View File

@ -100,10 +100,6 @@ class Neovim():
if not self.is_attached(silent):
return
modified = self.server.current.buffer.options['modified']
if modified:
self.server.current.buffer.options['modified'] = False
cmds, files = split_cmds_from_files(arguments)
for fname in files:
@ -130,9 +126,6 @@ class Neovim():
for cmd in cmds:
self.server.command(cmd if cmd else '$')
if modified:
self.server.current.buffer.options['modified'] = True
return len(files)
def _show_msg(self, old_address):

View File

@ -18,7 +18,7 @@ setup(
'console_scripts': ['nvr = nvr.nvr:main']
},
packages = ['nvr'],
version = '1.8.1',
version = '1.8.0',
license = 'MIT',
keywords = 'neovim nvim nvr remote helper',
classifiers = [