2022-12-27 20:45:43 +01:00
|
|
|
local M = {
|
|
|
|
"lervag/vimtex", -- latex support
|
|
|
|
ft = "tex",
|
|
|
|
}
|
2022-02-09 21:20:34 +01:00
|
|
|
|
2022-12-27 20:45:43 +01:00
|
|
|
function M.config()
|
2022-09-09 00:16:11 +02:00
|
|
|
vim.g.vimtex_view_method = "zathura"
|
|
|
|
vim.g.Tex_DefaultTargetFormat = "pdf"
|
2022-11-01 16:48:18 +01:00
|
|
|
vim.g.vimtex_fold_enabled = 0
|
2022-12-27 20:45:43 +01:00
|
|
|
vim.g.vimtex_imaps_enabled = 0
|
|
|
|
vim.g.vimtex_syntax_conceal_disable = 1
|
2022-09-09 00:16:11 +02:00
|
|
|
vim.g.vimtex_compiler_latexmk = {
|
|
|
|
options = {
|
2022-12-27 20:45:43 +01:00
|
|
|
"-pdf",
|
|
|
|
"-shell-escape",
|
|
|
|
"-verbose",
|
|
|
|
"-file-line-error",
|
|
|
|
"-synctex=1",
|
|
|
|
"-interaction=nonstopmode",
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
}
|
2022-02-09 21:20:34 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|