summaryrefslogtreecommitdiffstats
path: root/indent/crystal.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/crystal.vim')
-rw-r--r--indent/crystal.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/crystal.vim b/indent/crystal.vim
index 836a9369..177462e5 100644
--- a/indent/crystal.vim
+++ b/indent/crystal.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'crystal') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" Only load this indent file when no other was loaded.
if exists('b:did_indent')
finish
@@ -637,3 +634,4 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2 ts=8 et:
+endif