chore: apply formatting
This commit is contained in:
+6
-1
@@ -199,7 +199,12 @@ end
|
||||
---@return string?
|
||||
function M.exec(cmd, opts)
|
||||
opts = opts or {}
|
||||
local sys_opts = { cwd = opts.cwd, stdin = opts.stdin, text = true }
|
||||
local sys_opts = {
|
||||
cwd = opts.cwd,
|
||||
stdin = opts.stdin,
|
||||
env = opts.env,
|
||||
text = true,
|
||||
}
|
||||
|
||||
if opts.on_exit then
|
||||
vim.system(cmd, sys_opts, vim.schedule_wrap(opts.on_exit))
|
||||
|
||||
Reference in New Issue
Block a user