From 32203297f6ebf79f378d02c5d6835cb79696760a Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Wed, 2 Oct 2013 11:20:32 -0700 Subject: [PATCH] Make self calling function snippet ignore scf from plugin --- vim/UltiSnips/javascript.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/UltiSnips/javascript.snippets b/vim/UltiSnips/javascript.snippets index f3e12ef..ff3e948 100644 --- a/vim/UltiSnips/javascript.snippets +++ b/vim/UltiSnips/javascript.snippets @@ -1,10 +1,10 @@ snippet f "function" -function ${1:function_name} (${2:argument}) { +function ${1:function_name}(${2:argument}) { ${VISUAL}$0 } endsnippet -snippet scf "self calling function" +snippet scf "self calling function" ! (function (${1:argument}) { ${VISUAL}$0 }(${2:$1}));