runtime(doc): correct vi registers 1-9 documentation error

When using heirloom `vi` originally written by Bill Joy (`:version`
gives me "Version 4.0 (gritter) 12/25/06"), its possible to store text into
registers 1-9 and subsequently use the `:edit` or `:next` command to
change files and paste the contents of those numbered registers,
contrary to what Vim documentation states.

POSIX description also does not mention such a restriction:
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/ex.html#tag_20_40_13_10

closes: #15814

Signed-off-by: Frederick Key Abell III <fkabell@localhost.localdomain>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Frederick Key Abell III
2024-10-07 21:07:12 +02:00
committed by Christian Brabandt
parent 5df3cb2898
commit 6e56484f05

View File

@ -1,4 +1,4 @@
*change.txt* For Vim version 9.1. Last change: 2024 Jul 28
*change.txt* For Vim version 9.1. Last change: 2024 Oct 07
VIM REFERENCE MANUAL by Bram Moolenaar
@ -1283,8 +1283,7 @@ mapped. E.g. |%| is mapped by the matchit plugin.
With each successive deletion or change, Vim shifts the previous contents
of register 1 into register 2, 2 into 3, and so forth, losing the previous
contents of register 9.
{Vi: numbered register contents are lost when changing files; register 0 does
not exist}
{Vi: register 0 does not exist}
3. Small delete register "- *quote_-* *quote-*
This register contains text from commands that delete less than one line,