diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-04-16 12:26:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 12:26:13 +0200 |
commit | b0978fca6b82a061b345df43745c3ab860e02b58 (patch) | |
tree | a7e51a6a5fa14e9d91f44e5c873c98189144af9b /runtime/lua | |
parent | 2f779b94e7fe0fb2fba00dd8e644c60605e83179 (diff) | |
download | rneovim-b0978fca6b82a061b345df43745c3ab860e02b58.tar.gz rneovim-b0978fca6b82a061b345df43745c3ab860e02b58.tar.bz2 rneovim-b0978fca6b82a061b345df43745c3ab860e02b58.zip |
fix(checkhealth): fix crash due to incorrect argument type
Diffstat (limited to 'runtime/lua')
-rw-r--r-- | runtime/lua/vim/health.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua index 04f8f9695b..ff338b95ea 100644 --- a/runtime/lua/vim/health.lua +++ b/runtime/lua/vim/health.lua @@ -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) |