diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-01-29 09:43:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 09:43:49 -0800 |
commit | a060c13f55b775b2fafc741a571bb764e804d9db (patch) | |
tree | ff2d9478a9a4f0284ddcf98fbc037be3cbb4fe19 /runtime/lua/provider/ruby/health.lua | |
parent | 758504ec739b70c4e2f192feb106f101024bc862 (diff) | |
parent | e39b6d0c52410b59ad75312659ab278da42e42c6 (diff) | |
download | rneovim-a060c13f55b775b2fafc741a571bb764e804d9db.tar.gz rneovim-a060c13f55b775b2fafc741a571bb764e804d9db.tar.bz2 rneovim-a060c13f55b775b2fafc741a571bb764e804d9db.zip |
Merge #27246 from justinmk/health
Diffstat (limited to 'runtime/lua/provider/ruby/health.lua')
-rw-r--r-- | runtime/lua/provider/ruby/health.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/provider/ruby/health.lua b/runtime/lua/provider/ruby/health.lua index b102cbe535..d43d7cf9b3 100644 --- a/runtime/lua/provider/ruby/health.lua +++ b/runtime/lua/provider/ruby/health.lua @@ -22,7 +22,7 @@ function M.check() local ruby_detect_table = require('vim.provider.ruby').detect() local host = ruby_detect_table[1] - if host:find('^%s*$') then + 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.', 'Run `gem environment` to ensure the gem bin directory is in $PATH.', |