fix(lsp): correct the error message's cmd on spawning (#27632)

This commit is contained in:
notomo authored and GitHub committed 2024-02-28 17:36:28 +01:00
1 parent 7311958e12
commit aa62898ae3
1 file changed
+2 -1
+2 -1
View File
@@ -819,7 +819,8 @@ function M.start(cmd, dispatchers, extra_spawn_params)
else
sfx = string.format(' with error message: %s', err)
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)
return nil
end