summaryrefslogtreecommitdiff
path: root/lua/lv-vimtex/init.lua
blob: f4d1cc0c7026efc5a83bc0253e137f1771dbf61c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
vim.g.vimtex_compiler_method='latexmk'
vim.g.vimtex_view_method='zathura'
vim.g.vimtex_fold_enabled=0

-- Compile on initialization, cleanup on quit
vim.api.nvim_exec(
    [[
        augroup vimtex_event_1
            au!
            au User VimtexEventQuit     call vimtex#compiler#clean(0)
            au User VimtexEventInitPost call vimtex#compiler#compile()
        augroup END
    ]], false
)