Add snippet for vim function
This commit is contained in:
parent
b03ff98e4d
commit
318de00d36
11
UltiSnips/vim.snippets
Normal file
11
UltiSnips/vim.snippets
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
snippet function "VIM function"
|
||||||
|
function! ${1:name}($2)
|
||||||
|
$0
|
||||||
|
endfunction
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet py "Python block" b
|
||||||
|
python << endpython
|
||||||
|
$0
|
||||||
|
endpython
|
||||||
|
endsnippet
|
Loading…
x
Reference in New Issue
Block a user