refactor(vim.system): factor out on_exit handling

This commit is contained in:
Lewis Russell
2023-09-04 12:03:03 +01:00
parent 6d5f12efd2
commit 80d1333b73
6 changed files with 87 additions and 73 deletions

View File

@@ -118,7 +118,7 @@ end
---
---@param path string Path or URL to open
---
---@return SystemCompleted|nil # Command result, or nil if not found.
---@return vim.SystemCompleted|nil # Command result, or nil if not found.
---@return string|nil # Error message on failure
---
---@see |vim.system()|