summaryrefslogtreecommitdiffstats
path: root/compiler/haml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/haml.vim')
-rw-r--r--compiler/haml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/haml.vim b/compiler/haml.vim
index 084ca48a..cb0127e2 100644
--- a/compiler/haml.vim
+++ b/compiler/haml.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haml') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
" Vim compiler file
" Compiler: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -30,3 +27,4 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+endif