fix autotrigger on backspace
This commit is contained in:
parent
9a670c502b
commit
f974e0317f
@ -840,7 +840,7 @@ class SnippetManager(object):
|
||||
if inserted_char == '':
|
||||
before = _vim.buf.line_till_cursor
|
||||
if before and before[-1] == self._last_change[0] or \
|
||||
self._last_change[1] != vim.current.line:
|
||||
self._last_change[1] != vim.current.window.cursor[0]:
|
||||
self._try_expand(autotrigger_only=True)
|
||||
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user