aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-27 22:21:17 +0200
committerbfredl <bjorn.linse@gmail.com>2023-09-27 22:50:49 +0200
commitb85f1dafc7c0a19704135617454f1c66f41202c1 (patch)
treece478ebdce2efaac4ff9f16e86bce556e2ef1e7d /src/nvim/lua/executor.c
parentf91cd31d7d9d70006e0000592637d5d997eab52c (diff)
downloadrneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.tar.gz
rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.tar.bz2
rneovim-b85f1dafc7c0a19704135617454f1c66f41202c1.zip
refactor(messages): fold msg_attr into msg
problem: there are too many different functions in message.c solution: fold some of the functions into themselves
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index f2efd866f8..32706b74f1 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -953,11 +953,11 @@ static void nlua_print_event(void **argv)
}
break;
}
- msg(str + start);
+ msg(str + start, 0);
msg_didout = true; // Make blank lines work properly
}
if (len && str[len - 1] == NUL) { // Last was newline
- msg("");
+ msg("", 0);
}
xfree(str);
}