summaryrefslogtreecommitdiffstats
path: root/indent/haml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/haml.vim')
-rw-r--r--indent/haml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/haml.vim b/indent/haml.vim
index c5c73c88..55bd0d2e 100644
--- a/indent/haml.vim
+++ b/indent/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 indent file
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -76,3 +73,4 @@ function! GetHamlIndent()
endfunction
" vim:set sw=2:
+endif