mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
fix(checkhealth): fix crash due to incorrect argument type
This commit is contained in:
@@ -266,7 +266,7 @@ function M._check(plugin_names)
|
||||
M.error('No healthcheck found for "' .. name .. '" plugin.')
|
||||
end
|
||||
if type == 'v' then
|
||||
vim.cmd.call(func, {})
|
||||
vim.fn.call(func, {})
|
||||
else
|
||||
local f = assert(loadstring(func))
|
||||
local ok, output = pcall(f)
|
||||
|
Reference in New Issue
Block a user