summaryrefslogtreecommitdiffstats
path: root/indent/slim.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/slim.vim')
-rw-r--r--indent/slim.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/slim.vim b/indent/slim.vim
index 75220e2b..43dfd5be 100644
--- a/indent/slim.vim
+++ b/indent/slim.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'slim') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'slim') == -1
" Vim indent file
" Language: Slim
@@ -77,3 +74,4 @@ function! GetSlimIndent()
endfunction
" vim:set sw=2:
+endif