diff options
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 12f1ed9b80..b102cbe535 100644 --- a/runtime/lua/provider/ruby/health.lua +++ b/runtime/lua/provider/ruby/health.lua @@ -20,7 +20,7 @@ function M.check() end health.info('Ruby: ' .. health.system({ 'ruby', '-v' })) - local ruby_detect_table = vim.fn['provider#ruby#Detect']() + local ruby_detect_table = require('vim.provider.ruby').detect() local host = ruby_detect_table[1] if host:find('^%s*$') then health.warn('`neovim-ruby-host` not found.', { |