diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/news.txt | 3 | ||||
-rw-r--r-- | runtime/doc/options.txt | 3 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 4df7d6442a..68a05a99a4 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -163,6 +163,9 @@ TERMINAL system clipboard (copy). Querying with OSC 52 (paste) is not supported. • |hl-StatusLineTerm| and |hl-StatusLineTermNC| define highlights for the status line in |terminal| windows. +• The terminal buffer now supports reflow (wrapped lines adapt when the buffer + is resized horizontally). Note: Lines that are not visible and kept in + 'scrollback' are not reflown. TREESITTER diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index bc2a8ae263..f44e0954a5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5031,6 +5031,9 @@ A jump table for the options with a short description can be found at |Q_op|. Minimum is 1, maximum is 100000. Only in |terminal| buffers. + Note: Lines that are not visible and kept in scrollback are not + reflown when the terminal buffer is resized horizontally. + *'scrollbind'* *'scb'* *'noscrollbind'* *'noscb'* 'scrollbind' 'scb' boolean (default off) local to window diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 10c888548c..b4ac478b61 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -5253,6 +5253,9 @@ vim.wo.scr = vim.wo.scroll --- Minimum is 1, maximum is 100000. --- Only in `terminal` buffers. --- +--- Note: Lines that are not visible and kept in scrollback are not +--- reflown when the terminal buffer is resized horizontally. +--- --- @type integer vim.o.scrollback = -1 vim.o.scbk = vim.o.scrollback |