0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

runtime(doc): Improve :help :ls description formatting

Quote the special buffer names for consistency (see :help bufname()) and
so that they're not incorrectly highlighted as optional command
arguments.

closes: #18730

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-11-12 19:33:01 +00:00
committed by Christian Brabandt
parent 4f19d2768a
commit 9ab6a22c90

View File

@@ -1,4 +1,4 @@
*windows.txt* For Vim version 9.1. Last change: 2025 Nov 10 *windows.txt* For Vim version 9.1. Last change: 2025 Nov 11
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1145,10 +1145,10 @@ list of buffers. |unlisted-buffer|
or "N CTRL-^", where N is the buffer number. or "N CTRL-^", where N is the buffer number.
For the file name these special values are used: For the file name these special values are used:
[Prompt] |prompt-buffer| "[Prompt]" |prompt-buffer|
[Popup] buffer of a |popup-window| "[Popup]" buffer of a |popup-window|
[Scratch] 'buftype' is "nofile" "[Scratch]" 'buftype' is "nofile"
[No Name] no file name specified "[No Name]" no file name specified
For a |terminal-window| buffer the status is used. For a |terminal-window| buffer the status is used.
Indicators (chars in the same column are mutually exclusive): Indicators (chars in the same column are mutually exclusive):