mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 07:02:46 +00:00
Bugfixes.
- Return after an error in RPC. - Use an empty vim table for serialization.
This commit is contained in:
@@ -340,6 +340,7 @@ local function create_and_start_client(cmd, cmd_args, handlers, extra_spawn_para
|
||||
local decoded, err = json_decode(body)
|
||||
if not decoded then
|
||||
on_error(client_errors.INVALID_SERVER_JSON, err)
|
||||
return
|
||||
end
|
||||
local _ = log.debug() and log.debug("decoded", decoded)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user