Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Commit

Permalink
msgpack_rpc_stream: just print a count of how many things in the result
Browse files Browse the repository at this point in the history
  • Loading branch information
phodge committed Jul 9, 2018
1 parent 32f46a8 commit 0a472e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/msgpack_rpc_stream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function MsgpackRpcStream:read_start(request_cb, notification_cb, eof_cb)
notification_cb(method_or_error, args_or_result)
end
elseif type == 'response' then
self._previous_chunk = string.format('response<%s>', args_or_result)
self._previous_chunk = string.format('response<#%d>', #args_or_result)
if method_or_error == mpack.NIL then
method_or_error = nil
else
Expand Down

0 comments on commit 0a472e6

Please sign in to comment.