From 1597b7b766ee3999cdfea862af14999c37041d0e Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 09:28:35 +0100 Subject: Change plugin guard for disabling, fixes #371 --- indent/tex.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'indent/tex.vim') diff --git a/indent/tex.vim b/indent/tex.vim index 14af7b28..31abcd57 100644 --- a/indent/tex.vim +++ b/indent/tex.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'latex') != -1 + finish +endif + " LaTeX indent file (part of LaTeX Box) " Maintainer: David Munger (mungerd@gmail.com) @@ -136,5 +138,3 @@ if v:version > 703 || (v:version == 703 && has('patch598')) endif " vim:fdm=marker:ff=unix:noet:ts=4:sw=4 - -endif -- cgit v1.2.3