Fix waiting logic for -d

pull/83/head v2.0.1
Marco Hinz 6 years ago
parent ad0b04dcf1
commit 450f2c5fe6
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

@ -91,8 +91,8 @@ class Nvr():
def diffthis(self):
if self.diffmode:
self.server.command('diffthis')
if not self.started_new_process:
self.wait_for_current_buffer()
if not self.started_new_process:
self.wait_for_current_buffer()
def wait_for_current_buffer(self):
bvars = self.server.current.buffer.vars

Loading…
Cancel
Save