Compare commits

...

2 Commits

Author SHA1 Message Date
hollorol
afbbe29751 latex support 2025-05-17 12:20:01 +02:00
hollorol
defc8e2ecd latex support 2025-05-17 12:19:44 +02:00
2 changed files with 24 additions and 0 deletions

View File

@ -18,3 +18,8 @@ snippet it "item"
\item $0
endsnippet
snippet listing "Listing"
\begin{lstlisting}
$0
\end{lstlisting}
endsnippet

View File

@ -0,0 +1,19 @@
return {
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_compiler_latexmk = {
options = {
"-pdf",
"-shell-escape",
"-verbose",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
},
}
end
}