aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/provider/ruby/health.lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-01-22 22:07:14 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-01-24 19:26:53 +0100
commitb280d57db9845359186bfb5167e1559b6184f8d5 (patch)
tree0ee29ba803649344baf383994c710cb857d68d62 /runtime/lua/provider/ruby/health.lua
parentae3eed53d6100598b6d26fe58e3e97541e03f3c1 (diff)
downloadrneovim-b280d57db9845359186bfb5167e1559b6184f8d5.tar.gz
rneovim-b280d57db9845359186bfb5167e1559b6184f8d5.tar.bz2
rneovim-b280d57db9845359186bfb5167e1559b6184f8d5.zip
refactor: rewrite ruby provider in lua
Diffstat (limited to 'runtime/lua/provider/ruby/health.lua')
-rw-r--r--runtime/lua/provider/ruby/health.lua2
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.', {