mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(lsp): correct the error message's cmd on spawning (#27632)
This commit is contained in:
parent
7311958e12
commit
aa62898ae3
@ -819,7 +819,8 @@ function M.start(cmd, dispatchers, extra_spawn_params)
|
|||||||
else
|
else
|
||||||
sfx = string.format(' with error message: %s', err)
|
sfx = string.format(' with error message: %s', err)
|
||||||
end
|
end
|
||||||
local msg = string.format('Spawning language server with cmd: `%s` failed%s', cmd, sfx)
|
local msg =
|
||||||
|
string.format('Spawning language server with cmd: `%s` failed%s', vim.inspect(cmd), sfx)
|
||||||
vim.notify(msg, vim.log.levels.WARN)
|
vim.notify(msg, vim.log.levels.WARN)
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user