Skip to content

Commit 9ab6a22

Browse files
dkearnschrisbra
authored andcommitted
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 <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 4f19d27 commit 9ab6a22

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

runtime/doc/windows.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*windows.txt* For Vim version 9.1. Last change: 2025 Nov 10
1+
*windows.txt* For Vim version 9.1. Last change: 2025 Nov 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1145,10 +1145,10 @@ list of buffers. |unlisted-buffer|
11451145
or "N CTRL-^", where N is the buffer number.
11461146

11471147
For the file name these special values are used:
1148-
[Prompt] |prompt-buffer|
1149-
[Popup] buffer of a |popup-window|
1150-
[Scratch] 'buftype' is "nofile"
1151-
[No Name] no file name specified
1148+
"[Prompt]" |prompt-buffer|
1149+
"[Popup]" buffer of a |popup-window|
1150+
"[Scratch]" 'buftype' is "nofile"
1151+
"[No Name]" no file name specified
11521152
For a |terminal-window| buffer the status is used.
11531153

11541154
Indicators (chars in the same column are mutually exclusive):

0 commit comments

Comments
 (0)