diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-01-23 18:05:04 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-04-01 19:43:55 +0200 |
commit | 1fe0b329fe1d40e5837a43f53da0e0fff38477bc (patch) | |
tree | 4f4fe9af5166713bab5ac6403bf42636a6fdaa00 /src/nvim/buffer_defs.h | |
parent | 4139678f97ee556ab142031a1ed5c7580278b64f (diff) | |
download | rneovim-1fe0b329fe1d40e5837a43f53da0e0fff38477bc.tar.gz rneovim-1fe0b329fe1d40e5837a43f53da0e0fff38477bc.tar.bz2 rneovim-1fe0b329fe1d40e5837a43f53da0e0fff38477bc.zip |
api/ui: win_viewport event for visible range and cursor position in window
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 3993f61a3d..366766c292 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1190,6 +1190,8 @@ struct window_S { to adjust w_valid */ colnr_T w_valid_leftcol; /* last known w_leftcol */ + bool w_viewport_invalid; + /* * 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(). |