runtime(doc): document that :b cannot handle buffer names starting with "+"

closes: #17229

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-04-30 19:54:52 +02:00
parent fb08192ca7
commit ff3d4b2d49

View File

@ -1,4 +1,4 @@
*windows.txt* For Vim version 9.1. Last change: 2025 Jan 02
*windows.txt* For Vim version 9.1. Last change: 2025 Apr 30
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1289,7 +1289,9 @@ list of buffers. |unlisted-buffer|
name also works, so long as it is unique in the list of
buffers.
Note that a buffer whose name is a number cannot be referenced
by that name; use the buffer number instead.
by that name; use the buffer number instead. Same is true if
the buffer name starts with a `+`, it will be interpreted as
the start of a |+cmd|.
Insert a backslash before a space in a buffer name.
See |:buffer-!| for [!].
This will also edit a buffer that is not in the buffer list,