latex support
This commit is contained in:
parent
defc8e2ecd
commit
afbbe29751
19
lua/config/plugins/latex.lua
Normal file
19
lua/config/plugins/latex.lua
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
return {
|
||||||
|
"lervag/vimtex",
|
||||||
|
lazy = false, -- we don't want to lazy load VimTeX
|
||||||
|
-- tag = "v2.15", -- uncomment to pin to a specific release
|
||||||
|
init = function()
|
||||||
|
vim.g.vimtex_view_method = "zathura"
|
||||||
|
|
||||||
|
vim.g.vimtex_compiler_latexmk = {
|
||||||
|
options = {
|
||||||
|
"-pdf",
|
||||||
|
"-shell-escape",
|
||||||
|
"-verbose",
|
||||||
|
"-file-line-error",
|
||||||
|
"-synctex=1",
|
||||||
|
"-interaction=nonstopmode",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user