From c98bfb9f59b8045372e4c0e396d707f55d9d027a Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Wed, 19 Jun 2024 19:59:23 +0200 Subject: [PATCH] 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 --- runtime/doc/builtin.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()*