summaryrefslogtreecommitdiffstats
path: root/indent/cucumber.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/cucumber.vim')
-rw-r--r--indent/cucumber.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/cucumber.vim b/indent/cucumber.vim
index e4ad953e..ea098447 100644
--- a/indent/cucumber.vim
+++ b/indent/cucumber.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cucumber') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
" Vim indent file
" Language: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -77,3 +74,4 @@ function! GetCucumberIndent()
endfunction
" vim:set sts=2 sw=2:
+endif