aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-21 14:11:05 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-06-21 14:13:33 +0800
commitf45403db19d888266d1cc04756bfef20a26f9f7f (patch)
treee489e3436ef4da30720292df277ca35dc64cffdd /runtime
parent86ea42ce265a5a9df2843b04e8036268593825b9 (diff)
downloadrneovim-f45403db19d888266d1cc04756bfef20a26f9f7f.tar.gz
rneovim-f45403db19d888266d1cc04756bfef20a26f9f7f.tar.bz2
rneovim-f45403db19d888266d1cc04756bfef20a26f9f7f.zip
vim-patch:9.1.0511: CursorMovedC triggered wrongly with setcmdpos()
Problem: CursorMovedC triggered wrongly with setcmdpos() (after v9.1.0507) Solution: Remove the premature triggering. Also don't trigger when cursor didn't move. (zeertzjq) closes: vim/vim#15064 https://github.com/vim/vim/commit/bc6f96708e3678dbb27ec4192d87cf94a15d4e9a
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index d0768c6f8c..089316aec1 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -524,7 +524,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. Be careful not to mess up the
+ 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.
<afile> is set to a single character,
indicating the type of command-line.