From 1571fde23ecd8ce6a42f3dfef69bb066223fd714 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 13 Nov 2025 07:04:06 +0800 Subject: [PATCH] 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 --- runtime/doc/windows.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index b15ff23def..99affbce7c 100644 --- 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|