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 2fe4a374..614f359f 100644
--- a/indent/ruby.vim
+++ b/indent/ruby.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif