Refact: move dotfiles to specific folder and split dotfile in 2
This commit is contained in:
19
files/dotfiles/vim/UltiSnips/python.snippets
Normal file
19
files/dotfiles/vim/UltiSnips/python.snippets
Normal file
@@ -0,0 +1,19 @@
|
||||
snippet todo "A python todo mark" b
|
||||
# TODO: ${1:desc} |`date`
|
||||
endsnippet
|
||||
|
||||
snippet tvar "testing a variable" b
|
||||
print("${1:Varname} -> ", $1)
|
||||
endsnippet
|
||||
|
||||
|
||||
# Unittest
|
||||
|
||||
snippet deftest "test function without docstrings" b
|
||||
def test_${1:function}(`!p
|
||||
if snip.indent:
|
||||
snip.rv = 'self' `):
|
||||
${0:pass}
|
||||
endsnippet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user