aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdhist.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-27 23:49:47 +0200
committerGitHub <noreply@github.com>2023-09-27 23:49:47 +0200
commite46f5aab895f333d23d6adf490e13177c8d3c1d8 (patch)
treee0bf5224a8db9e9cb4b60347cfd4ac7f8faacbaf /src/nvim/cmdhist.c
parent86b7d8a9f54d572e6866d6a24476d2369a288f79 (diff)
parent448d4837be7f7bd60ac0b5a3100c0217ac48a495 (diff)
downloadrneovim-e46f5aab895f333d23d6adf490e13177c8d3c1d8.tar.gz
rneovim-e46f5aab895f333d23d6adf490e13177c8d3c1d8.tar.bz2
rneovim-e46f5aab895f333d23d6adf490e13177c8d3c1d8.zip
Merge pull request #25396 from bfredl/no_attr
refactor(messages): fold msg() functions with and without attr
Diffstat (limited to 'src/nvim/cmdhist.c')
-rw-r--r--src/nvim/cmdhist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/cmdhist.c b/src/nvim/cmdhist.c
index 072898706b..72379fd86d 100644
--- a/src/nvim/cmdhist.c
+++ b/src/nvim/cmdhist.c
@@ -610,7 +610,7 @@ void ex_history(exarg_T *eap)
char *arg = eap->arg;
if (hislen == 0) {
- msg(_("'history' option is zero"));
+ msg(_("'history' option is zero"), 0);
return;
}
@@ -672,7 +672,7 @@ void ex_history(exarg_T *eap)
} else {
xstrlcat(IObuff, hist[i].hisstr, IOSIZE);
}
- msg_outtrans(IObuff);
+ msg_outtrans(IObuff, 0);
}
if (i == idx) {
break;