1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/vimtex.lua

25 lines
483 B
Lua
Raw Normal View History

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()
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
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-02-09 21:20:34 +01:00
end
return M