runtime(doc): document that :b cannot handle buffer names starting with "+"
Commit:
https://github.com/vim/vim/commit/ff3d4b2d49c4b8b7d97cfaeffe57321a1852f7e8
Author: Christian Brabandt <
c...@256bit.org>
Date: Wed Apr 30 19:54:52 2025 +0200
runtime(doc): document that :b cannot handle buffer names starting with "+"
closes:
https://github.com/vim/vim/issues/17229
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index db24e5191..545a44b3b 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 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,