aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.lua4
-rw-r--r--src/nvim/msgpack_rpc/channel.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index d29c96a763..8ca1868ff1 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -6494,7 +6494,9 @@ M.funcs = {
base = 1,
desc = [=[
Evaluate Lua expression {expr} and return its result converted
- to Vim data structures. See |lua-eval| for more details.
+ to Vim data structures. See |lua-eval| for details.
+
+ See also |v:lua-call|.
]=],
lua = false,
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++) {