Commit: runtime(doc): correct return types for job_start() and job_status()

5 views
Skip to first unread message

Christian Brabandt

unread,
Jun 13, 2024, 1:30:16 PM6/13/24
to vim...@googlegroups.com
runtime(doc): correct return types for job_start() and job_status()

Commit: https://github.com/vim/vim/commit/1a946044fe3993bc87c36960d38ad2934df9c649
Author: Christian Brabandt <c...@256bit.org>
Date: Thu Jun 13 19:13:28 2024 +0200

runtime(doc): correct return types for job_start() and job_status()

fixes: https://github.com/vim/vim/issues/14982

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt
index 1d9dd5bd8..ece06af5b 100644
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -1,4 +1,4 @@
-*channel.txt* For Vim version 9.1. Last change: 2024 Jun 06
+*channel.txt* For Vim version 9.1. Last change: 2024 Jun 13


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1031,7 +1031,7 @@ job_start({command} [, {options}]) *job_start()*
Can also be used as a |method|: >
BuildCommand()->job_start()
<
- Return type: |Number|
+ Return type: |job|


job_status({job}) *job_status()* *E916*
@@ -1056,7 +1056,7 @@ job_status({job}) *job_status()* *E916*
Can also be used as a |method|: >
GetJob()->job_status()
<
- Return type: |job|
+ Return type: |String|


job_stop({job} [, {how}]) *job_stop()*
Reply all
Reply to author
Forward
0 new messages