mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 14:52:04 +00:00
Added LaTeX templates and more
This commit is contained in:
31
ftplugin/tex.lua
Normal file
31
ftplugin/tex.lua
Normal 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
|
||||
Reference in New Issue
Block a user