Merge pull request #445 from ToruIwashita/zsh_function_snippet
zsh: Changed zsh snippet for function
This commit is contained in:
commit
13a14fa514
@ -57,6 +57,10 @@ snippet [
|
|||||||
snippet always
|
snippet always
|
||||||
{ ${1:try} } always { ${0:always} }
|
{ ${1:try} } always { ${0:always} }
|
||||||
snippet fun
|
snippet fun
|
||||||
function ${1:name} (${2:args}) {
|
${1:function_name}() {
|
||||||
${0:# body}
|
${0:# function_body}
|
||||||
|
}
|
||||||
|
snippet ffun
|
||||||
|
function ${1:function_name}() {
|
||||||
|
${0:# function_body}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user