From a85cce90e3d189a33a3602c878bdc9baeb7642f5 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 30 Jul 2026 08:11:46 +0800 Subject: [PATCH] vim-patch:partial:b4ae16c: runtime(doc): clarify 'laststatus' effect (#41052) fixes: vim/vim#20875 https://github.com/vim/vim/commit/b4ae16ca3ed558e4b2da28bbb05c15fb4fdcd4eb Co-authored-by: Christian Brabandt --- runtime/doc/options.txt | 4 ++++ runtime/lua/vim/_meta/options.gen.lua | 4 ++++ src/nvim/options.lua | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 56097a98cf..147b42a91f 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4038,6 +4038,10 @@ A jump table for the options with a short description can be found at |Q_op|. 1: only if there are at least two windows 2: always 3: always and ONLY the last window + + Here "last window" means the last window in a column, i.e. the bottom- + most one, just above the command line. + The screen looks nicer with a status line if you have several windows, but it takes another screen line. |status-line| diff --git a/runtime/lua/vim/_meta/options.gen.lua b/runtime/lua/vim/_meta/options.gen.lua index 0279bc713f..a16149089c 100644 --- a/runtime/lua/vim/_meta/options.gen.lua +++ b/runtime/lua/vim/_meta/options.gen.lua @@ -3965,6 +3965,10 @@ vim.go.lrm = vim.go.langremap --- 1: only if there are at least two windows --- 2: always --- 3: always and ONLY the last window +--- +--- Here "last window" means the last window in a column, i.e. the bottom- +--- most one, just above the command line. +--- --- The screen looks nicer with a status line if you have several --- windows, but it takes another screen line. `status-line` --- diff --git a/src/nvim/options.lua b/src/nvim/options.lua index e291c8dd74..d429a34779 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -5377,6 +5377,10 @@ local options = { 1: only if there are at least two windows 2: always 3: always and ONLY the last window + + Here "last window" means the last window in a column, i.e. the bottom- + most one, just above the command line. + The screen looks nicer with a status line if you have several windows, but it takes another screen line. |status-line| ]=],