Make self calling function snippet ignore scf from plugin

This commit is contained in:
Buddy Sandidge 2013-10-02 11:20:32 -07:00
parent 5b3bfd7950
commit 32203297f6

View File

@ -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}));