diff options
Diffstat (limited to '.config/nvim/lua/plugins/latex.lua')
-rw-r--r-- | .config/nvim/lua/plugins/latex.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/latex.lua b/.config/nvim/lua/plugins/latex.lua new file mode 100644 index 0000000..8582c6f --- /dev/null +++ b/.config/nvim/lua/plugins/latex.lua | |||
@@ -0,0 +1,16 @@ | |||
1 | return { | ||
2 | { | ||
3 | "lervag/vimtex", | ||
4 | ft = { 'tex', 'latex', 'plaintext' }, | ||
5 | init = function() | ||
6 | vim.g.vimtex_view_method = 'zathura' | ||
7 | vim.g.vimtex_quickfix_mode = 0 | ||
8 | vim.g.vimtex_quickfix_ignore_filters = {"Underfull", "Overfull"} | ||
9 | vim.g.vimtex_compiler_latexmk = { | ||
10 | options = { | ||
11 | "-pdf", '-shell-escape', '-verbose', '-file-line-error', '-synctex=1', '-interaction=nonstopmode' | ||
12 | } | ||
13 | } | ||
14 | end, | ||
15 | }, | ||
16 | } | ||