From d1e00a5f6dce9cf1fa80f613d4d27019966e5a79 Mon Sep 17 00:00:00 2001 From: luukvbaal Date: Sun, 22 Dec 2024 15:42:48 +0100 Subject: fix(messages): typo and unwanted truncation in msg_outtrans_long #31669 - Typo/bug in msg_outtrans_long passing string length as "hist" argument. - Avoid truncating message in msg_outtrans_long with ext_messages (followup to 1097d239c307a10a87fa995c4cfbe5987939e177). - Remove `_hl` from `msg_keep`, `smsg_keep` as there is no non-`_hl` variant. - `msg_printf_hl` is removed (identical to `smsg` except it sets `msg_scroll = true`, seemingly as a caveat to force a more prompt in cmdline mode). Move this logic to the only the only place this was used in ex_getln.c. --- src/nvim/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/quickfix.c') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 76c794b5a9..e9e0228ec4 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2937,7 +2937,7 @@ static void qf_jump_print_msg(qf_info_T *qi, int qf_index, qfline_T *qf_ptr, buf msg_scroll = false; } msg_ext_set_kind("quickfix"); - msg_hl_keep(gap->ga_data, 0, true, false); + msg_keep(gap->ga_data, 0, true, false); msg_scroll = (int)i; qfga_clear(); -- cgit