pass all args to snip.expand_anon

This commit is contained in:
Stanislav Seletskiy 2015-06-19 11:44:29 +06:00
parent 9649f15a9e
commit b50c5c86c3

View File

@ -36,8 +36,8 @@ class SnippetUtilForAction(dict):
super(SnippetUtilForAction, self).__init__(*args, **kwargs)
self.__dict__ = self
def expand_anon(self, snippet):
UltiSnips.UltiSnips_Manager.expand_anon(snippet)
def expand_anon(self, *args, **kwargs):
UltiSnips.UltiSnips_Manager.expand_anon(*args, **kwargs)
self.cursor.preserve()