Add snippet for vim function
This commit is contained in:
parent
18adbf0b5a
commit
3bccc9e800
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