[vim] Improve handling of partial tex files

This commit is contained in:
lhark 2019-02-01 15:44:35 -05:00
parent a479830f4c
commit 284d9a720a

2
vimrc
View file

@ -130,6 +130,8 @@ endif
filetype plugin on filetype plugin on
filetype indent on filetype indent on
set omnifunc=syntaxcomplete#Complete set omnifunc=syntaxcomplete#Complete
"[Default to filetype=tex when viewing partial tex files]"
let g:tex_flavor="tex"
"[Enable built-in plug-ins/macros]" "[Enable built-in plug-ins/macros]"
runtime macros/matchit.vim runtime macros/matchit.vim
"[Enable syntax highlighting]" "[Enable syntax highlighting]"