patch 9.1.0543: Behavior of CursorMovedC is strange

Problem:  Behavior of CursorMovedC is strange.
Solution: Also trigger when the cmdline has changed.
          (zeertzjq)

fixes: #15069
closes: #15071

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-07-07 20:48:25 +02:00
committed by Christian Brabandt
parent e85fdc730e
commit 8145620a95
4 changed files with 26 additions and 9 deletions

View File

@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 9.1. Last change: 2024 Jul 06
*autocmd.txt* For Vim version 9.1. Last change: 2024 Jul 07
VIM REFERENCE MANUAL by Bram Moolenaar
@ -751,9 +751,8 @@ CursorMoved After the cursor was moved in Normal or Visual
that is slow.
*CursorMovedC*
CursorMovedC After the cursor was moved in the command
line while the text in the command line hasn't
changed. Be careful not to mess up the
command line, it may cause Vim to lock up.
line. Be careful not to mess up the command
line, it may cause Vim to lock up.
<afile> is set to a single character,
indicating the type of command-line.
|cmdwin-char|