aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.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/eval.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/eval.c')
-rw-r--r--src/nvim/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 21c7cdee7d..dc07c0fc90 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -8102,7 +8102,7 @@ void ex_execute(exarg_T *eap)
if (eap->cmdidx == CMD_echomsg) {
msg_ext_set_kind("echomsg");
- msg_attr(ga.ga_data, echo_attr);
+ msg(ga.ga_data, echo_attr);
} else if (eap->cmdidx == CMD_echoerr) {
// We don't want to abort following commands, restore did_emsg.
int save_did_emsg = did_emsg;