mirror of
https://github.com/NotAShelf/direnv.nvim.git
synced 2026-04-16 15:24:15 +00:00
fix: crash when statusline() is called before init
This commit is contained in:
parent
d80c6a5cf2
commit
ce01b89e0a
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ M._get_rc_status = function(callback)
|
|||
end
|
||||
|
||||
vim.system(
|
||||
{ M.config.bin, "status", "--json" },
|
||||
{ (M.config or {}).bin or "direnv", "status", "--json" },
|
||||
{ text = true, cwd = cwd },
|
||||
on_exit
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue