Changed zsh snippet for function

This commit is contained in:
ToruIwashita 2014-09-11 13:48:54 +09:00
parent cc58c3b99c
commit 5035531ca8

View File

@ -57,6 +57,10 @@ snippet [
snippet always
{ ${1:try} } always { ${0:always} }
snippet fun
function ${1:name} (${2:args}) {
${0:# body}
${1:function_name}() {
${0:# function_body}
}
snippet ffun
function ${1:function_name}() {
${0:# function_body}
}