hack around double spoken

This commit is contained in:
chrys 2017-03-26 22:34:33 +02:00
parent 6e46800bb8
commit aee2704e94

View File

@ -24,9 +24,10 @@ class command():
return
if self.env['runtime']['screenManager'].isScreenChange():
return
# this leads to problems in vim -> status line change -> no announcement
#if self.env['runtime']['screenManager'].isDelta():
# return
# this leads to problems in vim -> status line change -> no announcement, so we do check the lengh as hack
if self.env['runtime']['screenManager'].isDelta():
if len(self.env['screenData']['newDelta']) > 4:
return
# is a vertical change?
if not self.env['runtime']['cursorManager'].isCursorVerticalMove():