diff --git a/pythonx/UltiSnips/snippet/definition/_base.py b/pythonx/UltiSnips/snippet/definition/_base.py index c6b0f62..62af17e 100644 --- a/pythonx/UltiSnips/snippet/definition/_base.py +++ b/pythonx/UltiSnips/snippet/definition/_base.py @@ -10,10 +10,10 @@ import vim from UltiSnips import _vim from UltiSnips.compatibility import as_unicode from UltiSnips.indent_util import IndentUtil +from UltiSnips.position import Position from UltiSnips.text import escape from UltiSnips.text_objects import SnippetInstance -from UltiSnips.text_objects._python_code import SnippetUtilForAction, SnippetUtilCursor -from UltiSnips.position import Position +from UltiSnips.text_objects._python_code import SnippetUtilCursor, SnippetUtilForAction __WHITESPACE_SPLIT = re.compile(r"\s") def split_at_whitespace(string): @@ -104,8 +104,6 @@ class SnippetDefinition(object): current = vim.current - holder = {'result': False} - locals = { 'window': current.window, 'buffer': current.buffer,