aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomasz N <przepompownia@users.noreply.github.com>2024-12-16 12:07:27 +0100
committerGitHub <noreply@github.com>2024-12-16 03:07:27 -0800
commit9c6a3703bb15d56fecdd962512f69f0ccf6d398c (patch)
treea1918bd7099c3b3708a06b850aaef021b58b404b /src
parent01a97d2ad75a459cad850d542f9ad7c4467cb380 (diff)
downloadrneovim-9c6a3703bb15d56fecdd962512f69f0ccf6d398c.tar.gz
rneovim-9c6a3703bb15d56fecdd962512f69f0ccf6d398c.tar.bz2
rneovim-9c6a3703bb15d56fecdd962512f69f0ccf6d398c.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/undo.c1
1 files changed, 1 insertions, 0 deletions
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