From 284d9a720a175b93f5e2b5add478a38170d9bc56 Mon Sep 17 00:00:00 2001 From: lhark Date: Fri, 1 Feb 2019 15:44:35 -0500 Subject: [PATCH] [vim] Improve handling of partial tex files --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index 2a6fa81..269c269 100644 --- a/vimrc +++ b/vimrc @@ -130,6 +130,8 @@ endif filetype plugin on filetype indent on set omnifunc=syntaxcomplete#Complete +"[Default to filetype=tex when viewing partial tex files]" +let g:tex_flavor="tex" "[Enable built-in plug-ins/macros]" runtime macros/matchit.vim "[Enable syntax highlighting]"