]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Improve :help :ls description formatting
authorDoug Kearns <dougkearns@gmail.com>
Wed, 12 Nov 2025 19:33:01 +0000 (19:33 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 12 Nov 2025 19:33:01 +0000 (19:33 +0000)
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>
runtime/doc/windows.txt

index bedaa32608117090b95a353c60c41024d4a2bc4c..5b77055a65d63780ec55b7a48ad96325cddbf1d0 100644 (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
@@ -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):