2022-02-09 21:20:34 +01:00
|
|
|
local global = require("my.helpers").global
|
|
|
|
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
2022-09-09 00:16:11 +02:00
|
|
|
-- Viewer method
|
|
|
|
vim.g.vimtex_view_method = "zathura"
|
|
|
|
vim.g.Tex_DefaultTargetFormat = "pdf"
|
|
|
|
vim.g.vimtex_fold_enabled = 1
|
|
|
|
vim.g.vimtex_compiler_latexmk = {
|
|
|
|
options = {
|
|
|
|
"-pdf", "-shell-escape", "-verbose", "-file-line-error", "-synctex=1", "-interaction=nonstopmode"
|
|
|
|
}
|
|
|
|
}
|
2022-02-09 21:20:34 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|