aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-26 05:49:48 -0700
committerGitHub <noreply@github.com>2025-03-26 05:49:48 -0700
commit8a7e1b19b9bf6cf3d081ca9d87bbe0045f93d556 (patch)
tree7fec31d6f4badb3e4c51fc09112e9ed757bd43a0 /src/nvim/msgpack_rpc
parent6b00c9acfde954a3e992a2932eca9fa5902a1298 (diff)
downloadrneovim-8a7e1b19b9bf6cf3d081ca9d87bbe0045f93d556.tar.gz
rneovim-8a7e1b19b9bf6cf3d081ca9d87bbe0045f93d556.tar.bz2
rneovim-8a7e1b19b9bf6cf3d081ca9d87bbe0045f93d556.zip
docs: news, lsp autocomplete #33047
Diffstat (limited to 'src/nvim/msgpack_rpc')
-rw-r--r--src/nvim/msgpack_rpc/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c
index fe480fff45..19aab7e317 100644
--- a/src/nvim/msgpack_rpc/channel.c
+++ b/src/nvim/msgpack_rpc/channel.c
@@ -518,7 +518,7 @@ void rpc_free(Channel *channel)
api_free_dict(channel->rpc.info);
}
-/// Logs a fatal error received from a channel, then closes the channel.
+/// Closes a channel after receiving fatal error, and logs a message.
static void chan_close_on_err(Channel *channel, char *msg, int loglevel)
{
for (size_t i = 0; i < kv_size(channel->rpc.call_stack); i++) {