Update init.lua

Inherit the environment
This commit is contained in:
twio142 2025-03-06 08:42:46 +01:00 committed by GitHub
parent 0ed14a40d9
commit 2d0bff9fc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,7 @@ function runner.sync(cmd, opts)
command = cmd,
args = opts.args,
cwd = opts.cwd,
env = vim.fn.environ(),
on_stderr = function(_, data)
vim.print(data)
end,