Make self calling function snippet ignore scf from plugin
This commit is contained in:
parent
5b3bfd7950
commit
32203297f6
@ -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}));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user