summaryrefslogtreecommitdiffstats
path: root/autoload/rubycomplete.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoload/rubycomplete.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/rubycomplete.vim b/autoload/rubycomplete.vim
index 9551c965..d25c23b6 100644
--- a/autoload/rubycomplete.vim
+++ b/autoload/rubycomplete.vim
@@ -1,4 +1,4 @@
-if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p'))
+if !has_key(g:polyglot_is_disabled, 'ruby')
finish
endif