Commit: runtime(doc): Fix :help complete() example

1 view
Skip to first unread message

Christian Brabandt

unread,
Sep 28, 2025, 2:15:18 PMSep 28
to vim...@googlegroups.com
runtime(doc): Fix :help complete() example

Commit: https://github.com/vim/vim/commit/3de73844afebe133ea7485cc9993bb8378a3717d
Author: Doug Kearns <dougk...@gmail.com>
Date: Sun Sep 28 18:01:15 2025 +0000

runtime(doc): Fix :help complete() example

closes: https://github.com/vim/vim/issues/18417

Signed-off-by: Doug Kearns <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 409588b2b..c3f531f66 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -1,4 +1,4 @@
-*builtin.txt* For Vim version 9.1. Last change: 2025 Sep 27
+*builtin.txt* For Vim version 9.1. Last change: 2025 Sep 28


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1940,7 +1940,7 @@ complete({startcol}, {matches}) *complete()* *E785*
func ListMonths()
call complete(col('.'), ['January', 'February', 'March',
\ 'April', 'May', 'June', 'July', 'August',
- \ 'September', \ 'October', 'November', 'December'])
+ \ 'September', 'October', 'November', 'December'])
return ''
endfunc
<
Reply all
Reply to author
Forward
0 new messages