diff options
author | Christian Clason <christian.clason@uni-due.de> | 2021-09-10 08:48:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-10 08:48:27 +0200 |
commit | 8f0c843c130a2117610e7892a8c1ca0887a54a6f (patch) | |
tree | 9b94e9cabd126de4b036057a4a3256ebff48879d /runtime/autoload/rubycomplete.vim | |
parent | a422f2136a001921fb54e7b83b6d00e6d5f42a4a (diff) | |
download | rneovim-8f0c843c130a2117610e7892a8c1ca0887a54a6f.tar.gz rneovim-8f0c843c130a2117610e7892a8c1ca0887a54a6f.tar.bz2 rneovim-8f0c843c130a2117610e7892a8c1ca0887a54a6f.zip |
vim-patch:4d8f476176ea (#15612)
* vim-patch:4d8f476176ea
Update runtime files
https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d
skip nsis/README.txt
skip doc/vim9.txt
skip src/nvim/po/it.po
Diffstat (limited to 'runtime/autoload/rubycomplete.vim')
-rw-r--r-- | runtime/autoload/rubycomplete.vim | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/runtime/autoload/rubycomplete.vim b/runtime/autoload/rubycomplete.vim index e8a1879668..3677b25aeb 100644 --- a/runtime/autoload/rubycomplete.vim +++ b/runtime/autoload/rubycomplete.vim @@ -3,7 +3,7 @@ " Maintainer: Mark Guzman <segfault@hasno.info> " URL: https://github.com/vim-ruby/vim-ruby " Release Coordinator: Doug Kearns <dougkearns@gmail.com> -" Last Change: 2019 Feb 25 +" Last Change: 2020 Apr 12 " ---------------------------------------------------------------------------- " " Ruby IRB/Complete author: Keiju ISHITSUKA(keiju@ishitsuka.com) @@ -501,13 +501,8 @@ class VimRubyCompletion return if rails_base == nil $:.push rails_base unless $:.index( rails_base ) - rails_config = rails_base + "config/" - rails_lib = rails_base + "lib/" - $:.push rails_config unless $:.index( rails_config ) - $:.push rails_lib unless $:.index( rails_lib ) - - bootfile = rails_config + "boot.rb" - envfile = rails_config + "environment.rb" + bootfile = rails_base + "config/boot.rb" + envfile = rails_base + "config/environment.rb" if File.exists?( bootfile ) && File.exists?( envfile ) begin require bootfile |