diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-07 18:34:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 18:34:39 +0800 |
commit | f92aab5f704f6e94e80f2fcbab42acc272a66a29 (patch) | |
tree | 8f107c2a9e5c6ddc21973e0f3bf8be96ab0791b9 /runtime | |
parent | f8aa2a0deaf473af0e6b4640356eaf5477c6ee90 (diff) | |
download | rneovim-f92aab5f704f6e94e80f2fcbab42acc272a66a29.tar.gz rneovim-f92aab5f704f6e94e80f2fcbab42acc272a66a29.tar.bz2 rneovim-f92aab5f704f6e94e80f2fcbab42acc272a66a29.zip |
vim-patch:9.0.1025: WinScrolled is not triggered when filler lines change (#21325)
Problem: WinScrolled is not triggered when filler lines change.
Solution: Add "topfill" to the values that WinScrolled triggers on.
(closes vim/vim#11668)
https://github.com/vim/vim/commit/3fc84dc2c7efecd7c14ce341cd777475058936fd
Cherry-pick StopVimInTerminal() from patch 9.0.1010.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/windows.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 1776c47d33..1e96d00291 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -631,9 +631,9 @@ The information provided by |WinScrolled| is a dictionary for each window that has changes, using the window ID as the key, and a total count of the changes with the key "all". Example value for |v:event|: { - all: {width: 0, height: 2, leftcol: 0, topline: 1, skipcol: 0}, - 1003: {width: 0, height: -1, leftcol: 0, topline: 0, skipcol: 0}, - 1006: {width: 0, height: 1, leftcol: 0, topline: 1, skipcol: 0}, + all: {width: 0, height: 2, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, + 1003: {width: 0, height: -1, leftcol: 0, skipcol: 0, topline: 0, topfill: 0}, + 1006: {width: 0, height: 1, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, } Note that the "all" entry has the absolute values of the individual windows |