commit d920cbaf536eba6238c7d1b5665da805909efaa6
parent c5d764d98f520465f528e96efe312024f3ed4133
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sun, 17 Jul 2022 14:54:49 +0200
vim: various settings for vimtex
Diffstat:
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -252,10 +252,13 @@ let g:goyo_height = "85%"
" Vimtex {{{3
let g:tex_flavor='latex'
let g:vimtex_view_method='general'
+let g:tex_comment_nospell=1
+let g:vimtex_syntax_nospell_comments=1
let g:vimtex_quickfix_mode=0
let g:tex_conceal='abdmg'
+let g:vimtex_compiler_enabled = 1
+let g:vimtex_compiler_method='latexmk'
let g:vimtex_compiler_latexmk = {
- \ 'build_dir' : 'build',
\ 'callback' : 1,
\ 'continuous' : 1,
\ 'executable' : 'latexmk',
@@ -267,6 +270,15 @@ let g:vimtex_compiler_latexmk = {
\ '-interaction=nonstopmode',
\ ],
\}
+let g:vimtex_compiler_tectonic = {
+ \ 'build_dir' : 'build',
+ \ 'callback' : 1,
+ \ 'options' : [
+ \ '--keep-logs',
+ \ '--synctex',
+ \ '--keep-intermediates'
+ \ ],
+ \}
" Ultisnips {{{3
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'