diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-09-04 12:03:03 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2023-09-05 17:10:04 +0100 |
commit | 80d1333b7317460c562a982ac21f900d9fbd89f6 (patch) | |
tree | c6e2cbf8fd95806045b5f96991306a5a482231cd /runtime/doc/lua.txt | |
parent | 6d5f12efd286c684de8608c07bb0f76a9d594b5b (diff) | |
download | rneovim-80d1333b7317460c562a982ac21f900d9fbd89f6.tar.gz rneovim-80d1333b7317460c562a982ac21f900d9fbd89f6.tar.bz2 rneovim-80d1333b7317460c562a982ac21f900d9fbd89f6.zip |
refactor(vim.system): factor out on_exit handling
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 61aee559ef..71f001f4fc 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1792,7 +1792,7 @@ vim.system({cmd}, {opts}, {on_exit}) *vim.system()* object, see return of SystemObj:wait(). Return: ~ - SystemObj Object with the fields: + 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 @@ -2545,7 +2545,7 @@ vim.ui.open({path}) *vim.ui.open()* • {path} (string) Path or URL to open Return (multiple): ~ - SystemCompleted|nil Command result, or nil if not found. + vim.SystemCompleted|nil Command result, or nil if not found. (string|nil) Error message on failure See also: ~ |