New Snippets for all filetypes
This commit is contained in:
13
UltiSnips/all.snippets
Normal file
13
UltiSnips/all.snippets
Normal file
@@ -0,0 +1,13 @@
|
||||
snippet cred "My private Credentials"
|
||||
Yannick Reiss <yannick.reiss@protonmail.ch>
|
||||
endsnippet
|
||||
|
||||
snippet solve "Solve a python equation"
|
||||
${1:1*1}`!p rv = ""
|
||||
try:
|
||||
rv = eval(t[1])
|
||||
except SyntaxError:
|
||||
rv = "?"
|
||||
snip.rv = f" = {rv}"`
|
||||
endsnippet
|
||||
|
||||
@@ -679,12 +679,3 @@ snippet cotable "create table with code extension" i
|
||||
\table ${1:row} ${2:column} ${3:Title}
|
||||
endsnippet
|
||||
|
||||
snippet solve "Solve a latex equation"
|
||||
${1:1*1}`!p rv = ""
|
||||
try:
|
||||
rv = eval(t[1])
|
||||
except SyntaxError:
|
||||
rv = "?"
|
||||
snip.rv = f" = {rv}"`
|
||||
endsnippet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user