Commit: runtime(doc): update WinScrolled documentation

1 view
Skip to first unread message

Christian Brabandt

unread,
Apr 4, 2025, 1:15:13 PM4/4/25
to vim...@googlegroups.com
runtime(doc): update WinScrolled documentation

Commit: https://github.com/vim/vim/commit/b8d5c8509998f3a97ffe42f674352b07749cd119
Author: Christian Brabandt <c...@256bit.org>
Date: Fri Apr 4 19:11:13 2025 +0200

runtime(doc): update WinScrolled documentation

closes: https://github.com/vim/vim/issues/17036

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index 820c30260..b9b76ffce 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 9.1. Last change: 2025 Apr 03
+*autocmd.txt* For Vim version 9.1. Last change: 2025 Apr 04


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1481,6 +1481,13 @@ WinScrolled After any window in the current tab page
or changed width or height. See
|win-scrolled-resized|.

+ Note: This can not be skipped with
+ `:noautocmd`, because it triggers after
+ processing normal commands when Vim is back in
+ the main loop. If you want to disable this,
+ consider setting the 'eventignore' option
+ instead.
+
The pattern is matched against the |window-ID|
of the first window that scrolled or resized.
Both <amatch> and <afile> are set to the
Reply all
Reply to author
Forward
0 new messages