From d37bec772a0e85da1cb7f6de13bc26539de0833c Mon Sep 17 00:00:00 2001 From: Sathors Date: Wed, 1 Apr 2015 10:13:53 -0500 Subject: [PATCH] defs snippet name clash In UltiSnips/python.snippets defs is used to define a staticmethod, in snippets/python.snippets defs is used to define a method. defs to define a method is not a good name, defm would be better. --- snippets/python.snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/python.snippets b/snippets/python.snippets index 6953da9..f30add3 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -47,7 +47,7 @@ snippet deff def ${1:fname}(${2:`indent('.') ? 'self' : ''`}): ${0} # New Method -snippet defs +snippet defm def ${1:mname}(self, ${2:arg}): ${0} # New Property