diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-27 23:49:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 23:49:47 +0200 |
commit | e46f5aab895f333d23d6adf490e13177c8d3c1d8 (patch) | |
tree | e0bf5224a8db9e9cb4b60347cfd4ac7f8faacbaf /src/nvim/buffer.c | |
parent | 86b7d8a9f54d572e6866d6a24476d2369a288f79 (diff) | |
parent | 448d4837be7f7bd60ac0b5a3100c0217ac48a495 (diff) | |
download | rneovim-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/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 15fbf7df7b..87096767f9 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -2858,7 +2858,7 @@ void buflist_list(exarg_T *eap) buf == curbuf ? (int64_t)curwin->w_cursor.lnum : (int64_t)buflist_findlnum(buf)); } - msg_outtrans(IObuff); + msg_outtrans(IObuff, 0); line_breakcheck(); } @@ -3230,10 +3230,10 @@ void fileinfo(int fullname, int shorthelp, int dont_truncate) msg_start(); n = msg_scroll; msg_scroll = true; - msg(buffer); + msg(buffer, 0); msg_scroll = n; } else { - p = msg_trunc_attr(buffer, false, 0); + p = msg_trunc(buffer, false, 0); if (restart_edit != 0 || (msg_scrolled && !need_wait_return)) { // Need to repeat the message after redrawing when: // - When restart_edit is set (otherwise there will be a delay |