aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider/ruby.vim
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2021-05-07 11:07:07 +0200
committerGitHub <noreply@github.com>2021-05-07 11:07:07 +0200
commit17434b88b4892218386b49b400e7eb6d265000ff (patch)
tree0da6d5271fdfa785cb1a3f6c2b46486ed24457e3 /runtime/autoload/provider/ruby.vim
parent8c9f0f1da1249bf423672ed7e408877d4f1f257f (diff)
downloadrneovim-17434b88b4892218386b49b400e7eb6d265000ff.tar.gz
rneovim-17434b88b4892218386b49b400e7eb6d265000ff.tar.bz2
rneovim-17434b88b4892218386b49b400e7eb6d265000ff.zip
checkhealth: ignore 'wildignore' when seeking executables (#14495)
Certain values of 'wildignore', .e.g `*/node_modules/**`, would make the provider checks not find the right executables. Fixes https://github.com/neovim/neovim/issues/14388
Diffstat (limited to 'runtime/autoload/provider/ruby.vim')
-rw-r--r--runtime/autoload/provider/ruby.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/provider/ruby.vim b/runtime/autoload/provider/ruby.vim
index 1f49c623ac..1428fab1cc 100644
--- a/runtime/autoload/provider/ruby.vim
+++ b/runtime/autoload/provider/ruby.vim
@@ -46,7 +46,7 @@ endfunction
function! s:detect()
if exists("g:ruby_host_prog")
- return expand(g:ruby_host_prog)
+ return expand(g:ruby_host_prog, v:true)
elseif has('win32')
return exepath('neovim-ruby-host.bat')
else