Removed unnedded code. (#963)
As I am reading the code, this branch can never be taken.
This commit is contained in:
parent
64289acdb1
commit
36f5618745
@ -277,13 +277,10 @@ class SnippetManager(object):
|
|||||||
"""Called whenever the cursor moved."""
|
"""Called whenever the cursor moved."""
|
||||||
self._should_update_textobjects = False
|
self._should_update_textobjects = False
|
||||||
|
|
||||||
if not self._csnippets and self._inner_state_up:
|
|
||||||
self._teardown_inner_state()
|
|
||||||
self._vstate.remember_position()
|
self._vstate.remember_position()
|
||||||
if _vim.eval('mode()') not in 'in':
|
if _vim.eval('mode()') not in 'in':
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
if self._ignore_movements:
|
if self._ignore_movements:
|
||||||
self._ignore_movements = False
|
self._ignore_movements = False
|
||||||
return
|
return
|
||||||
|
@ -131,7 +131,7 @@ class Backspace_TabStop_NotZero(_VimTest):
|
|||||||
wanted = 'AA BBB'
|
wanted = 'AA BBB'
|
||||||
# End: Pressing BS in TabStop #}}}
|
# End: Pressing BS in TabStop #}}}
|
||||||
|
|
||||||
class UpdateModifiedSnippetWithoutCursorMove(_VimTest):
|
class UpdateModifiedSnippetWithoutCursorMove1(_VimTest):
|
||||||
skip_if = check_required_vim_version
|
skip_if = check_required_vim_version
|
||||||
snippets = ('test', '${1:one}(${2:xxx})${3:three}')
|
snippets = ('test', '${1:one}(${2:xxx})${3:three}')
|
||||||
keys = 'test' + EX + 'aaaaa' + JF + BS + JF + '3333'
|
keys = 'test' + EX + 'aaaaa' + JF + BS + JF + '3333'
|
||||||
|
Loading…
Reference in New Issue
Block a user