summaryrefslogtreecommitdiffstats
path: root/autoload/crystal
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/crystal')
-rw-r--r--autoload/crystal/indent.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/crystal/indent.vim b/autoload/crystal/indent.vim
index b2fc9193..3e8b07e5 100644
--- a/autoload/crystal/indent.vim
+++ b/autoload/crystal/indent.vim
@@ -1,4 +1,4 @@
-if has_key(g:polyglot_is_disabled, 'crystal')
+if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'autoload/crystal/indent.vim')
finish
endif