diff options
Diffstat (limited to '.vim/after/ftplugin/tex.vim')
| -rw-r--r-- | .vim/after/ftplugin/tex.vim | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.vim/after/ftplugin/tex.vim b/.vim/after/ftplugin/tex.vim index e69de29..88d4f11 100644 --- a/.vim/after/ftplugin/tex.vim +++ b/.vim/after/ftplugin/tex.vim @@ -0,0 +1,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 |