neovim

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

commit 10f917351906ca2d3c61a6b9bd8b8ae88a26ed8f
parent 878dcf19807ad880fadac200b65619e237492460
Author: MoonFruit <dkmoonfruit@gmail.com>
Date:   Fri, 17 May 2024 18:25:28 +0800

fix(health): broken ruby detect #28804


Diffstat:
Mruntime/lua/provider/ruby/health.lua | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/runtime/lua/provider/ruby/health.lua b/runtime/lua/provider/ruby/health.lua @@ -19,8 +19,7 @@ function M.check() end health.info('Ruby: ' .. health.system({ 'ruby', '-v' })) - local ruby_detect_table = vim.provider.ruby.detect() - local host = ruby_detect_table[1] + local host, _ = vim.provider.ruby.detect() if (not host) or host:find('^%s*$') then health.warn('`neovim-ruby-host` not found.', { 'Run `gem install neovim` to ensure the neovim RubyGem is installed.',