summaryrefslogtreecommitdiffstats
path: root/ftplugin/haml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/haml.vim')
-rw-r--r--ftplugin/haml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/haml.vim b/ftplugin/haml.vim
index ddcae644..7fa8efa4 100644
--- a/ftplugin/haml.vim
+++ b/ftplugin/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 filetype plugin
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -73,3 +70,4 @@ let &cpo = s:save_cpo
unlet s:save_cpo
" vim:set sw=2:
+endif