summaryrefslogtreecommitdiffstats
path: root/runtime/autoload
diff options
context:
space:
mode:
authordkearns <dougkearns@gmail.com>2024-01-02 04:58:57 +1100
committerGitHub <noreply@github.com>2024-01-01 18:58:57 +0100
commitd08059ab48b822a25060b8a486085371ddeebcf7 (patch)
tree347137490e28dbe760f93ebb12a8a014e9c5398c /runtime/autoload
parent0ede5e361fba0254d454f61b0747b75a16a80bb5 (diff)
runtime(ruby): Update ftplugin and omni-complete (#13805)
Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/autoload')
-rw-r--r--runtime/autoload/rubycomplete.vim7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/autoload/rubycomplete.vim b/runtime/autoload/rubycomplete.vim
index 3677b25aeb..6ead0fd837 100644
--- a/runtime/autoload/rubycomplete.vim
+++ b/runtime/autoload/rubycomplete.vim
@@ -2,8 +2,7 @@
" Language: Ruby
" Maintainer: Mark Guzman <segfault@hasno.info>
" URL: https://github.com/vim-ruby/vim-ruby
-" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2020 Apr 12
+" Last Change: 2023 Dec 31
" ----------------------------------------------------------------------------
"
" Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com)
@@ -490,7 +489,7 @@ class VimRubyCompletion
trail = "%s%s" % [ dir, sub ]
tcfg = "%sconfig" % trail
- if File.exists?( tcfg )
+ if File.exist?( tcfg )
rails_base = trail
break
end
@@ -503,7 +502,7 @@ class VimRubyCompletion
bootfile = rails_base + "config/boot.rb"
envfile = rails_base + "config/environment.rb"
- if File.exists?( bootfile ) && File.exists?( envfile )
+ if File.exist?( bootfile ) && File.exist?( envfile )
begin
require bootfile
require envfile