Neovim: Enable -shell-escape for vimtex latexmk

This commit is contained in:
2024-10-10 16:02:05 +02:00
parent ed895eac62
commit 17a78c371f
+9
View File
@@ -828,6 +828,7 @@ in {
markdown = ["vale"];
nix = ["statix"];
python = ["flake8"];
tex = ["chktex"];
# rust = ["clippy"]; # Not supported, but integrated through rustaceanvim
text = ["vale"];
};
@@ -1654,6 +1655,14 @@ in {
init = ''
function()
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_compiler_latexmk = {
options = {
"-shell-escape",
"-file-line-error",
"-synctex=1",
"-interaction=nonstopmode",
},
}
end
'';
};