summaryrefslogtreecommitdiffstats
path: root/ftplugin/haml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/haml.vim')
-rw-r--r--ftplugin/haml.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/haml.vim b/ftplugin/haml.vim
index 6339f556..ddcae644 100644
--- a/ftplugin/haml.vim
+++ b/ftplugin/haml.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haml') != -1
+ finish
+endif
+
" Vim filetype plugin
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -71,5 +73,3 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set sw=2:
-
-endif