Python updates
This commit is contained in:
6
UltiSnips/pyenv.snippets
Normal file
6
UltiSnips/pyenv.snippets
Normal file
@@ -0,0 +1,6 @@
|
||||
global !p
|
||||
|
||||
def print_hello():
|
||||
print("Hello")
|
||||
|
||||
endglobal
|
||||
@@ -1,3 +1,5 @@
|
||||
extends pyenv
|
||||
|
||||
snippet cc "Add Citation" i
|
||||
\\cite{$1}$0
|
||||
endsnippet
|
||||
|
||||
@@ -49,7 +49,7 @@ endsnippet
|
||||
snippet docstring "Header Comment" A
|
||||
-- `!p snip.rv = fn`
|
||||
-- Created on: `date`
|
||||
-- Author(s): ${1:Alexander Graf, Carl Ries, Yannick Reiß}
|
||||
-- Author(s): ${1:Nina Chloé Reiß}
|
||||
-- Content: ${2: Entity `!p snip.rv = fn.split('.')[0]`}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
Reference in New Issue
Block a user