From 9c6a3703bb15d56fecdd962512f69f0ccf6d398c Mon Sep 17 00:00:00 2001 From: Tomasz N Date: Mon, 16 Dec 2024 12:07:27 +0100 Subject: fix(messages): no message kind for :undo messages #31590 Problem: cannot handle `:undo` and `:redo` messages in a special way, e.g. replace one by another. Solution: add `undo` kind. --- src/nvim/undo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 233e323f37..d523e55640 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1862,6 +1862,7 @@ static void u_doit(int startcount, bool quiet, bool do_buf_event) u_oldcount = -1; } + msg_ext_set_kind("undo"); int count = startcount; while (count--) { // Do the change warning now, so that it triggers FileChangedRO when -- cgit