summaryrefslogtreecommitdiffstats
path: root/indent/tex.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/tex.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/tex.vim b/indent/tex.vim
index 31abcd57..c498c0c4 100644
--- a/indent/tex.vim
+++ b/indent/tex.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'latex') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1
" LaTeX indent file (part of LaTeX Box)
" Maintainer: David Munger (mungerd@gmail.com)
@@ -138,3 +135,4 @@ if v:version > 703 || (v:version == 703 && has('patch598'))
endif
" vim:fdm=marker:ff=unix:noet:ts=4:sw=4
+endif