summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin/tex.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftplugin/tex.vim')
-rw-r--r--vim/ftplugin/tex.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim
index 37fe35d..a283f01 100644
--- a/vim/ftplugin/tex.vim
+++ b/vim/ftplugin/tex.vim
@@ -1,3 +1,5 @@
+let b:tex_flavor="latex"
+
" :make converts to pdf
setlocal makeprg=(cd\ /tmp\ &&\ pdflatex\ --halt-on-error\ %:p)