Added LaTeX templates and more

This commit is contained in:
Kristofers Solo
2023-09-01 01:01:16 +03:00
parent 5f9133e67d
commit 39d3cbc3cf
53 changed files with 3175 additions and 611 deletions

31
ftplugin/tex.lua Normal file
View File

@@ -0,0 +1,31 @@
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_context_pdf_viewer = "zathura"
vim.g.vimtex_quickfix_mode = 0
vim.g.vimtex_mappings_enabled = 0
vim.g.vimtex_indent_enabled = 1
vim.g.vimtex_log_ignore = {
"Underfull",
"Overfull",
"specifier changed to",
"Token not allowed in a PDF string",
}
vim.g.vimtex_compiler_latexmk_engines = {
["_"] = "-xelatex",
}
vim.g.vimtex_compiler_latexmk = {
aux_dir = "target",
out_dir = "target/build",
callback = 1,
continuous = 1,
executable = "latexmk",
hooks = {},
options = {
"-verbose",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
"-shell-escape",
},
}
vim.g.vimtex_complete_enabled = 1
vim.g.vimtex_complete_close_braces = 1