summaryrefslogtreecommitdiffstats
path: root/compiler/cucumber.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cucumber.vim')
-rw-r--r--compiler/cucumber.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/cucumber.vim b/compiler/cucumber.vim
index f0587227..54e34848 100644
--- a/compiler/cucumber.vim
+++ b/compiler/cucumber.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cucumber') != -1
+ finish
+endif
+
" Vim compiler file
" Compiler: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -29,5 +31,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
-
-endif