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