commit 1571fde23ecd8ce6a42f3dfef69bb066223fd714
parent 94ae48ff29c7f01667ca80928baf8e87a2c2bac2
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 13 Nov 2025 07:04:06 +0800
vim-patch:9ab6a22: runtime(doc): Improve :help :ls description formatting (#36541)
Quote the special buffer names for consistency (see :help bufname()) and
so that they're not incorrectly highlighted as optional command
arguments.
closes: vim/vim#18730
https://github.com/vim/vim/commit/9ab6a22c900aab5fa1859f27d3394d50be04a412
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
@@ -1116,6 +1116,11 @@ list of buffers. |unlisted-buffer|
thus you can always go to a specific buffer with ":buffer N"
or "N CTRL-^", where N is the buffer number.
+ For the file name these special values are used:
+ "[Prompt]" |prompt-buffer|
+ "[Scratch]" 'buftype' is "nofile"
+ "[No Name]" no file name specified
+
Indicators (chars in the same column are mutually exclusive):
u an unlisted buffer (only displayed when [!] is used)
|unlisted-buffer|