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/cmake.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'indent/cmake.vim') diff --git a/indent/cmake.vim b/indent/cmake.vim index 05eeba31..2ab2dc34 100644 --- a/indent/cmake.vim +++ b/indent/cmake.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cmake') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cmake') != -1 + finish +endif + " Vim indent file " Language: CMake (ft=cmake) " Author: Andy Cedilnik @@ -89,5 +91,3 @@ endfun let &cpo = s:keepcpo unlet s:keepcpo - -endif -- cgit v1.2.3