summary refs log tree commit diff
path: root/.vim/after/ftplugin/tex.vim
blob: 88d4f11b0e96aba2b0d4c58c96ba00b3d81cd78e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
nnoremap <leader>c :call vimtex#compiler#compile()<cr>
" augroup Vimtex
"     au!
"     au BufWritePost * silent call vimtex#compiler#compile()
" augroup END

" if exists('g:loaded_neomake')
"     let g:neomake_tex_tectonic_maker = {
"     \ 'exe': 'tectonic',
"     \ 'append_file': 1,
"     \ 'errorformat':
"     \     '%Eerror: something bad happened inside TeX; its output follows:,'.
"     \     '%C^[=]+$,'.
"     \     '%C(%f,'.
"     \     '%C.*,'.
"     \     '%C! %m,'.
"     \     '%Cl.%l %s,'.
"     \     '%C^[=]+$,'.
"     \     '%-Zcaused by: %s,'
"     \ }
"     let g:neomake_tex_enabled_makers = ['tectonic']
" endif