generation 560 25.11.20250714.62e0f05
This commit is contained in:
@@ -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",
|
||||||
})
|
-- })
|
||||||
|
|||||||
@@ -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 = ""
|
||||||
|
}))
|
||||||
|
})
|
||||||
|
|
||||||
-- ----
|
-- ----
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user