2024-04-23 13:21:27 -07:00
|
|
|
-- defines latex plugins, EXCEPT the lsp (defined in lsp.)
|
|
|
|
|
|
|
|
return {
|
|
|
|
{
|
|
|
|
"lervag/vimtex",
|
|
|
|
ft = { "tex", "latex", "bib" },
|
|
|
|
-- tag = "v2.15", -- uncomment to pin to a specific release
|
|
|
|
init = function()
|
|
|
|
-- VimTeX configuration goes here
|
2024-04-25 09:42:25 -07:00
|
|
|
if vim.fn.executable("zathura") == 1 then
|
|
|
|
vim.g.vimtex_view_method = "zathura"
|
|
|
|
else
|
|
|
|
vim.g.vimtex_view_method = "skim"
|
|
|
|
end
|
2024-04-23 13:41:04 -07:00
|
|
|
vim.g.vimtex_compiler_method = "latexmk"
|
2024-04-23 13:21:27 -07:00
|
|
|
end,
|
|
|
|
},
|
|
|
|
}
|