diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-01-01 19:33:16 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-02 11:43:18 +0100 |
commit | 99f1530a4f607b80f21135440e267460485b318a (patch) | |
tree | 7a65ac6b4e54ff19afca3930432d8c8d9466dc1f /runtime/autoload/rubycomplete.vim | |
parent | 3299797150636b9d233c290a49c5532c3bed2f34 (diff) | |
download | rneovim-99f1530a4f607b80f21135440e267460485b318a.tar.gz rneovim-99f1530a4f607b80f21135440e267460485b318a.tar.bz2 rneovim-99f1530a4f607b80f21135440e267460485b318a.zip |
vim-patch:d08059ab48b8
runtime(ruby): Update ftplugin and omni-complete (vim/vim#13805)
https://github.com/vim/vim/commit/d08059ab48b822a25060b8a486085371ddeebcf7
Co-authored-by: dkearns <dougkearns@gmail.com>
Diffstat (limited to 'runtime/autoload/rubycomplete.vim')
-rw-r--r-- | runtime/autoload/rubycomplete.vim | 7 |
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 |