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
|
snippet cc "Add Citation" i
|
||||||
\\cite{$1}$0
|
\\cite{$1}$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ endsnippet
|
|||||||
snippet docstring "Header Comment" A
|
snippet docstring "Header Comment" A
|
||||||
-- `!p snip.rv = fn`
|
-- `!p snip.rv = fn`
|
||||||
-- Created on: `date`
|
-- 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]`}
|
-- Content: ${2: Entity `!p snip.rv = fn.split('.')[0]`}
|
||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
Reference in New Issue
Block a user