diff --git a/pythonx/UltiSnips/text_objects/_python_code.py b/pythonx/UltiSnips/text_objects/_python_code.py index 5faadff..2828618 100644 --- a/pythonx/UltiSnips/text_objects/_python_code.py +++ b/pythonx/UltiSnips/text_objects/_python_code.py @@ -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()