ultisnip scripts, autopairs and spellcheck
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
snippet fun "Create a function"
|
||||
function! ${1:FunctionName}(${2:Arguments})
|
||||
|
||||
${0:function body}
|
||||
|
||||
endfunction
|
||||
endsnippet
|
||||
|
||||
snippet pyfun "Create a function"
|
||||
function! ${1:FunctionName}(${2:Arguments})
|
||||
python3 <<EOF
|
||||
import vim
|
||||
|
||||
${0:function body}
|
||||
|
||||
EOF
|
||||
endfunction
|
||||
endsnippet
|
||||
Reference in New Issue
Block a user