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