runtime(doc): wrong return type for execute() function Commit: https://github.com/vim/vim/commit/c98bfb9f59b8045372e4c0e396d707f55d9d027a Author: Marius Gedminas <mar...@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 <mar...@gedmin.as> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 0061e9efc..c1dd26020 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()* -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sJzpo-005Grr-J8%40256bit.org.