summaryrefslogtreecommitdiffstats
path: root/syntax/cucumber.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/cucumber.vim')
-rw-r--r--syntax/cucumber.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/cucumber.vim b/syntax/cucumber.vim
index 496db9c7..e94e9835 100644
--- a/syntax/cucumber.vim
+++ b/syntax/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 syntax file
" Language: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -144,3 +141,4 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vim:set sts=2 sw=2:
+endif