neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit ac670989980a599c545bc754de559adbcae19845
parent 2aa794826611cd4874badd2409928fd04a64a75f
Author: luukvbaal <luukvbaal@gmail.com>
Date:   Wed,  7 May 2025 03:23:38 +0200

fix(messages): "list_cmd" kind for mark commands #33874

Problem:  `:marks/jumps/changes` are missing a message kind.

Solution: Assign the "list_cmd" kind to them.
Diffstat:
Msrc/nvim/mark.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/nvim/mark.c b/src/nvim/mark.c @@ -883,6 +883,7 @@ void ex_marks(exarg_T *eap) arg = NULL; } + msg_ext_set_kind("list_cmd"); show_one_mark('\'', arg, &curwin->w_pcmark, NULL, true); for (int i = 0; i < NMARKS; i++) { show_one_mark(i + 'a', arg, &curbuf->b_namedm[i].mark, NULL, true); @@ -1056,6 +1057,7 @@ void ex_jumps(exarg_T *eap) { cleanup_jumplist(curwin, true); // Highlight title + msg_ext_set_kind("list_cmd"); msg_puts_title(_("\n jump line col file/text")); for (int i = 0; i < curwin->w_jumplistlen && !got_int; i++) { if (curwin->w_jumplist[i].fmark.mark.lnum != 0) { @@ -1102,6 +1104,7 @@ void ex_clearjumps(exarg_T *eap) // print the changelist void ex_changes(exarg_T *eap) { + msg_ext_set_kind("list_cmd"); // Highlight title msg_puts_title(_("\nchange line col text"));