neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 6abc608445745e7e8def2aabf57c7a0c26b8a485
parent 109ff0a73f87e93d12013ae8232aece040353038
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Tue,  5 Sep 2023 08:20:56 +0200

vim-patch:282a94be990f

runtime: Fix problem of checking wrong cwd for ruby ftplugin (vim/vim#13026)

https://github.com/vim/vim/commit/282a94be990fc1ee5be46548bf7241b583d48972

Co-authored-by: Anton Sharonov (ant0sha) <109120102+ant0sha@users.noreply.github.com>
Co-authored-by: Anton Sharonov <anton.sharonov@gmail.com>

Diffstat:
Mruntime/ftplugin/ruby.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/ftplugin/ruby.vim b/runtime/ftplugin/ruby.vim @@ -77,7 +77,7 @@ function! s:query_path(root) abort let cwd = fnameescape(getcwd()) try exe cd fnameescape(a:root) - if fnamemodify(exepath('ruby'), ':p:h') ==# getcwd() + if fnamemodify(exepath('ruby'), ':p:h') ==# cwd let path = [] else let path = split(system(path_check),',')