[vim] Improve handling of partial tex files
This commit is contained in:
parent
a479830f4c
commit
284d9a720a
1 changed files with 2 additions and 0 deletions
2
vimrc
2
vimrc
|
@ -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]"
|
||||||
|
|
Loading…
Reference in a new issue