beamer themes

This commit is contained in:
2022-11-09 19:09:19 -05:00
parent d0ea6f9e32
commit 6b182fc571
7 changed files with 106 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
global !p
def math():
return vim.eval('vimtex#syntax#in_mathzone()') == '1'
endglobal
snippet beg "begin{} / end{}" bA
\\begin{$1}
$2
\\end{$1}$0
endsnippet
snippet sm "Math" wA
$${1}$`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
snip.rv = ' '
else:
snip.rv = ''
`$2
endsnippet
snippet dm "Display Math" wA
\[
$1
.\] $0
endsnippet