summaryrefslogtreecommitdiffstats
path: root/compiler/haml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/haml.vim')
-rw-r--r--compiler/haml.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/haml.vim b/compiler/haml.vim
index eee5af43..084ca48a 100644
--- a/compiler/haml.vim
+++ b/compiler/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 compiler file
" Compiler: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -28,5 +30,3 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
-
-endif