From 9b8005439ac351ded8f6286aefa2378d25d7add5 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 7 Dec 2020 19:09:32 +0100 Subject: vim: update after/ftplugin/* --- .vim/after/ftplugin/tex.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to '.vim/after/ftplugin/tex.vim') 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 c :call vimtex#compiler#compile() +" 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 -- cgit 1.4.1