]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): wrong return type for execute() function
authorMarius Gedminas <marius@gedmin.as>
Wed, 19 Jun 2024 17:59:23 +0000 (19:59 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 19 Jun 2024 18:00:00 +0000 (20:00 +0200)
The description clearly explains that this function returns a string.  I
think the 'Number' here is a copy/paste error.

closes: #15045

Signed-off-by: Marius Gedminas <marius@gedmin.as>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt

index 0061e9efc662a1bb2bb116eaa6f20e536d5fe874..c1dd26020abc43b3ed2655f28096beca2835c51c 100644 (file)
@@ -1,4 +1,4 @@
-*builtin.txt*  For Vim version 9.1.  Last change: 2024 Jun 17
+*builtin.txt*  For Vim version 9.1.  Last change: 2024 Jun 19
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2580,7 +2580,7 @@ execute({command} [, {silent}])                                   *execute()*
                Can also be used as a |method|: >
                        GetCommand()->execute()
 <
-               Return type: |Number|
+               Return type: |String|
 
 
 exepath({expr})                                                *exepath()*