generation 560 25.11.20250714.62e0f05

This commit is contained in:
2025-12-18 05:24:31 -05:00
parent 3c1dee3c19
commit a49755c10f
2 changed files with 25 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ vim.g.maplocalleader = ','
-- vim.g.Tex_IgnoreLevel = 8 -- vim.g.Tex_IgnoreLevel = 8
-- Delete extra compilation files when a TeX buffer is deleted. -- Delete extra compilation files when a TeX buffer is deleted.
vim.api.nvim_create_autocmd("BufDelete", { -- vim.api.nvim_create_autocmd("BufDelete", {
pattern = "*.tex", -- pattern = "*.tex",
command = "silent! !latexmk -c > /dev/null 2>&1 %:p", -- command = "silent! !latexmk -c > /dev/null 2>&1 %:p",
}) -- })

View File

@@ -171,6 +171,27 @@ ls.add_snippets("tex", {
})) }))
}) })
ls.add_snippets("tex", {
s("beamer", fmta([[
\documentclass{beamer}
\usetheme{metropolis} % Use metropolis theme
\title{<>}
\date{\today}
\author{Jacob Ginesin}
\institute{<>}
\begin{document}
\maketitle
\section{First Section}
\begin{frame}{First Frame}
Hello, world!
\end{frame}
\end{document}
]], {i(1), i(0)}, {
indent_string = ""
}))
})
-- ---- -- ----