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

0 views
Skip to first unread message

Christian Brabandt

unread,
Nov 13, 2025, 7:27:01 AM (10 days ago) Nov 13
to vim...@googlegroups.com
runtime(doc): Improve :help :ls description formatting

Commit: https://github.com/vim/vim/commit/9ab6a22c900aab5fa1859f27d3394d50be04a412
Author: Doug Kearns <dougk...@gmail.com>
Date: Wed Nov 12 19:33:01 2025 +0000

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 <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index bedaa3260..5b77055a6 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -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
@@ -1145,10 +1145,10 @@ list of buffers. |unlisted-buffer|
or "N CTRL-^", where N is the buffer number.

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

Indicators (chars in the same column are mutually exclusive):
Reply all
Reply to author
Forward
0 new messages