mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 08:32:42 +00:00
refactor: rewrite ruby provider in lua
This commit is contained in:
@@ -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.', {
|
||||
|
||||
Reference in New Issue
Block a user