mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
fix(ui): always use stl/stlnc fillchars when drawing statusline (#25267)
This commit is contained in:
@@ -2465,8 +2465,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
and the value of that item:
|
||||
|
||||
item default Used for ~
|
||||
stl ' ' or '^' statusline of the current window
|
||||
stlnc ' ' or '=' statusline of the non-current windows
|
||||
stl ' ' statusline of the current window
|
||||
stlnc ' ' statusline of the non-current windows
|
||||
wbr ' ' window bar
|
||||
horiz '─' or '-' horizontal separators |:split|
|
||||
horizup '┴' or '-' upwards facing horizontal separator
|
||||
@@ -2485,9 +2485,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
eob '~' empty lines at the end of a buffer
|
||||
lastline '@' 'display' contains lastline/truncate
|
||||
|
||||
Any one that is omitted will fall back to the default. For "stl" and
|
||||
"stlnc" the space will be used when there is highlighting, '^' or '='
|
||||
otherwise.
|
||||
Any one that is omitted will fall back to the default.
|
||||
|
||||
Note that "horiz", "horizup", "horizdown", "vertleft", "vertright" and
|
||||
"verthoriz" are only used when 'laststatus' is 3, since only vertical
|
||||
|
||||
@@ -5322,8 +5322,6 @@ SpellRare Word that is recognized by the spellchecker as one that is
|
||||
StatusLine Status line of current window.
|
||||
*hl-StatusLineNC*
|
||||
StatusLineNC Status lines of not-current windows.
|
||||
Note: If this is equal to "StatusLine", Vim will use "^^^" in
|
||||
the status line of the current window.
|
||||
*hl-TabLine*
|
||||
TabLine Tab pages line, not active tab page label.
|
||||
*hl-TabLineFill*
|
||||
|
||||
@@ -534,6 +534,10 @@ Vimscript compatibility:
|
||||
`shell_error` does not alias to |v:shell_error|
|
||||
`this_session` does not alias to |v:this_session|
|
||||
|
||||
UI/Display:
|
||||
'statusline' always uses the "stl" and "stlnc" fields of 'fillchars', even
|
||||
if they are the same and |hl-StatusLine| and |hl-StatusLineNC| are equal.
|
||||
|
||||
Working directory (Vim implemented some of these after Nvim):
|
||||
- |DirChanged| and |DirChangedPre| can be triggered when switching to another
|
||||
window or tab.
|
||||
|
||||
8
runtime/lua/vim/_meta/options.lua
generated
8
runtime/lua/vim/_meta/options.lua
generated
@@ -2181,8 +2181,8 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- and the value of that item:
|
||||
---
|
||||
--- item default Used for ~
|
||||
--- stl ' ' or '^' statusline of the current window
|
||||
--- stlnc ' ' or '=' statusline of the non-current windows
|
||||
--- stl ' ' statusline of the current window
|
||||
--- stlnc ' ' statusline of the non-current windows
|
||||
--- wbr ' ' window bar
|
||||
--- horiz '─' or '-' horizontal separators `:split`
|
||||
--- horizup '┴' or '-' upwards facing horizontal separator
|
||||
@@ -2201,9 +2201,7 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- eob '~' empty lines at the end of a buffer
|
||||
--- lastline '@' 'display' contains lastline/truncate
|
||||
---
|
||||
--- Any one that is omitted will fall back to the default. For "stl" and
|
||||
--- "stlnc" the space will be used when there is highlighting, '^' or '='
|
||||
--- otherwise.
|
||||
--- Any one that is omitted will fall back to the default.
|
||||
---
|
||||
--- Note that "horiz", "horizup", "horizdown", "vertleft", "vertright" and
|
||||
--- "verthoriz" are only used when 'laststatus' is 3, since only vertical
|
||||
|
||||
Reference in New Issue
Block a user