Skip to content

Commit f7c2a1f

Browse files
committed
Update synchronization documentation
1 parent 585b20e commit f7c2a1f

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

doc/scrollview.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,13 +1191,14 @@ Scope Description
11911191

11921192
Synchronization Issues ~
11931193
*scrollview-synchronization-issues*
1194-
* Scrollbars can become out-of-sync after modifying window arrangement with
1195-
|:wincmd|. |:ScrollViewRefresh|, or scrolling can be used to refresh the
1196-
scrollbars.
1197-
1198-
* Scrollbars become out-of-sync after ":" fold commands when using a
1199-
|scrollview-mode| that accounts for folds. Because there are no |autocmd-events|
1200-
for folding, the plugin is unable to refresh the scrollbars.
1194+
* For `nvim<0.7`, scrollbars can become out-of-sync after modifying window
1195+
arrangement with |:wincmd|. For `nvim>=0.7`, this is limited to |<cmd>| mappings
1196+
and commands executed from Lua (e.g., `vim.cmd('wincmd H')`). |:ScrollViewRefresh|
1197+
or scrolling can be used to refresh the scrollbars.
1198+
1199+
* For `nvim<0.7`, scrollbars can become out-of-sync after fold commands when
1200+
using a |scrollview-mode| that accounts for folds. For `nvim>=0.7`, this is
1201+
limited to |<cmd>| mappings and commands executed from Lua (e.g., `vim.cmd('foldo')`).
12011202
|:ScrollViewRefresh|, or scrolling can be used to refresh the scrollbars.
12021203

12031204
Error Message Issues ~

0 commit comments

Comments
 (0)