patch 9.1.1417: missing info about register completion in complete_info()

Problem:  missing info about register completion in complete_info()
          (after v9.1.1408)
Solution: update documentation and mention that register is used as
          source, add a test (glepnir)

closes: #17389

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
glepnir
2025-05-28 20:39:34 +02:00
committed by Christian Brabandt
parent 19ef6b0b4b
commit 49864aecd0
3 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 May 14
*builtin.txt* For Vim version 9.1. Last change: 2025 May 28
VIM REFERENCE MANUAL by Bram Moolenaar
@ -2007,6 +2007,7 @@ complete_info([{what}]) *complete_info()*
"omni" Omni completion |i_CTRL-X_CTRL-O|
"spell" Spelling suggestions |i_CTRL-X_s|
"eval" |complete()| completion
"register" Words from registers |i_CTRL-X_CTRL-R|
"unknown" Other internal modes
If the optional {what} list argument is supplied, then only