Improve vim function snippet
This commit is contained in:
parent
f730d382bc
commit
ce6ec3d410
@ -3,7 +3,7 @@ command! $1${2:cmd} ${3:rep}$0
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet function "VIM function"
|
snippet function "VIM function"
|
||||||
function! ${1:name}($2)
|
function! ${1:name}($2) ${3:abort}
|
||||||
$0
|
$0
|
||||||
endfunction
|
endfunction
|
||||||
endsnippet
|
endsnippet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user