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