mirror of
https://github.com/neovim/neovim.git
synced 2026-07-23 01:12:49 +00:00
refactor(api): omit optional param
This commit is contained in:
@@ -136,7 +136,7 @@ function M.call(method, args)
|
||||
local ok, result = pcall(vim.fn['remote#host#Require'], 'legacy-python3-provider') ---@type any, any
|
||||
if not ok then
|
||||
s_err = result
|
||||
vim.api.nvim_echo({ { result, 'WarningMsg' } }, true, {})
|
||||
vim.api.nvim_echo({ { result, 'WarningMsg' } }, true)
|
||||
return
|
||||
end
|
||||
s_host = result
|
||||
|
||||
Reference in New Issue
Block a user