changeset 35468:dac5372649a7

runtime(doc): wrong return type for execute() function Commit: https://github.com/vim/vim/commit/c98bfb9f59b8045372e4c0e396d707f55d9d027a Author: Marius Gedminas <marius@gedmin.as> Date: Wed Jun 19 19:59:23 2024 +0200 runtime(doc): wrong return type for execute() function 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>
author Christian Brabandt <cb@256bit.org>
date Wed, 19 Jun 2024 20:15:04 +0200
parents e9d64d636ebc
children 6a29a07451c7
files runtime/doc/builtin.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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}])					*exe
 		Can also be used as a |method|: >
 			GetCommand()->execute()
 <
-		Return type: |Number|
+		Return type: |String|
 
 
 exepath({expr})						*exepath()*