summaryrefslogtreecommitdiffstats
path: root/autoload/rubycomplete.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/rubycomplete.vim')
-rw-r--r--autoload/rubycomplete.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/rubycomplete.vim b/autoload/rubycomplete.vim
index 440dfd42..9dd5d8c4 100644
--- a/autoload/rubycomplete.vim
+++ b/autoload/rubycomplete.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim completion script
" Language: Ruby
" Maintainer: Mark Guzman <segfault@hasno.info>
@@ -831,3 +833,5 @@ call s:DefRuby()
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
+
+endif