summaryrefslogtreecommitdiffstats
path: root/indent/cucumber.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/cucumber.vim')
-rw-r--r--indent/cucumber.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/cucumber.vim b/indent/cucumber.vim
index 03f11dc8..e4ad953e 100644
--- a/indent/cucumber.vim
+++ b/indent/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 indent file
" Language: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -75,5 +77,3 @@ function! GetCucumberIndent()
endfunction
" vim:set sts=2 sw=2:
-
-endif