summaryrefslogtreecommitdiffstats
path: root/ftplugin/cucumber.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/cucumber.vim')
-rw-r--r--ftplugin/cucumber.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/cucumber.vim b/ftplugin/cucumber.vim
index 2b9fff04..a07db5da 100644
--- a/ftplugin/cucumber.vim
+++ b/ftplugin/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 filetype plugin
" Language: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -150,5 +152,3 @@ let &cpo = s:keepcpo
unlet s:keepcpo
" vim:set sts=2 sw=2:
-
-endif