fix(git): use os.getenv to get env var. Fixes #5504

This commit is contained in:
Folke Lemaitre 2025-01-31 17:01:01 +01:00
parent bcc075386e
commit 16d700eb65
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 1 additions and 1 deletions

View file

@ -50,7 +50,7 @@ function M.get_root(path)
end
end
return vim.env.GIT_WORK_TREE
return os.getenv("GIT_WORK_TREE")
end
--- Show git log for the current line.