From: Marius Gedminas Date: Wed, 19 Jun 2024 17:59:23 +0000 (+0200) Subject: runtime(doc): wrong return type for execute() function X-Git-Tag: v9.1.0503~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c98bfb9f59b8045372e4c0e396d707f55d9d027a;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 0061e9efc6..c1dd26020a 100644 --- 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}]) *execute()* Can also be used as a |method|: > GetCommand()->execute() < - Return type: |Number| + Return type: |String| exepath({expr}) *exepath()*