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