aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-09-04 12:03:03 +0100
committerLewis Russell <lewis6991@gmail.com>2023-09-05 17:10:04 +0100
commit80d1333b7317460c562a982ac21f900d9fbd89f6 (patch)
treec6e2cbf8fd95806045b5f96991306a5a482231cd /runtime/lua/vim/_editor.lua
parent6d5f12efd286c684de8608c07bb0f76a9d594b5b (diff)
downloadrneovim-80d1333b7317460c562a982ac21f900d9fbd89f6.tar.gz
rneovim-80d1333b7317460c562a982ac21f900d9fbd89f6.tar.bz2
rneovim-80d1333b7317460c562a982ac21f900d9fbd89f6.zip
refactor(vim.system): factor out on_exit handling
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r--runtime/lua/vim/_editor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua
index ba0345cdd5..68992a16bb 100644
--- a/runtime/lua/vim/_editor.lua
+++ b/runtime/lua/vim/_editor.lua
@@ -117,7 +117,7 @@ vim.log = {
--- @param on_exit (function|nil) Called when subprocess exits. When provided, the command runs
--- asynchronously. Receives SystemCompleted object, see return of SystemObj:wait().
---
---- @return SystemObj Object with the fields:
+--- @return vim.SystemObj Object with the fields:
--- - pid (integer) Process ID
--- - wait (fun(timeout: integer|nil): SystemCompleted) Wait for the process to complete. Upon
--- timeout the process is sent the KILL signal (9) and the exit code is set to 124.