From: Simon Ruderich Date: Sat, 19 Nov 2011 10:49:53 +0000 (+0100) Subject: vimrc: Use tex compiler for (La)TeX files. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6ec52f7a8f36cf8ea2cfdf3b50640f37099d2294;p=config%2Fdotfiles.git vimrc: Use tex compiler for (La)TeX files. --- diff --git a/vimrc b/vimrc index dd6ba12..e48c219 100644 --- a/vimrc +++ b/vimrc @@ -468,6 +468,8 @@ if has('autocmd') \ setlocal textwidth=72 " Use the same comment string as for Vim files in Vimperator files. autocmd FileType vimperator setlocal commentstring=\"%s +" Use tex compiler for (La)TeX files. + autocmd FileType tex compiler tex " FTDETECT AUTO COMMANDS