aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer_defs.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-04 14:14:09 +0800
committerGitHub <noreply@github.com>2023-07-04 14:14:09 +0800
commite8b3ed74bca4bd6ececcc240f816451bef7fd58c (patch)
treec01f2117e3c9d8286b1111ffed38cb9d4a05c9e6 /src/nvim/buffer_defs.h
parent92760a7f42a95bb252966c2a38423e5bc9d57cc7 (diff)
downloadrneovim-e8b3ed74bca4bd6ececcc240f816451bef7fd58c.tar.gz
rneovim-e8b3ed74bca4bd6ececcc240f816451bef7fd58c.tar.bz2
rneovim-e8b3ed74bca4bd6ececcc240f816451bef7fd58c.zip
fix(ui-ext): "scroll_delta" handle topfill and skipcol (#24249)
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r--src/nvim/buffer_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index d92d425ed5..5e9652792a 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -1226,6 +1226,8 @@ struct window_S {
bool w_viewport_invalid;
linenr_T w_viewport_last_topline; // topline when the viewport was last updated
+ linenr_T w_viewport_last_topfill; // topfill when the viewport was last updated
+ linenr_T w_viewport_last_skipcol; // skipcol when the viewport was last updated
// w_cline_height is the number of physical lines taken by the buffer line
// that the cursor is on. We use this to avoid extra calls to plines_win().