Merge #38796 from justinmk/doc2

This commit is contained in:
Justin M. Keyes
2026-04-05 20:36:45 -04:00
committed by GitHub
4 changed files with 26 additions and 20 deletions

View File

@@ -6749,11 +6749,15 @@ vim.wo.stc = vim.wo.statuscolumn
--- Sets the `status-line`.
---
--- The option consists of printf style '%' items interspersed with
--- normal text. Each status line item is of the form:
--- Contains printf-style "%" items interspersed with normal text, where
--- each item has the form:
--- ```
--- %-0{minwid}.{maxwid}{item}
--- All fields except the {item} are optional. A single percent sign can
--- be given as "%%".
--- ```
---
--- All fields except {item} are optional. Use "%%" to show a literal "%"
--- char. Setting this option to empty (`:set statusline=`) sets its
--- value to the default.
---
--- *stl-%!*
--- When the option starts with "%!" then it is used as an expression,