mirror of
https://github.com/NotAShelf/direnv.nvim.git
synced 2025-10-03 15:33:35 +00:00
Merge pull request #8 from ergotu/fix-missing-envrc
fix: check if status.state.foundRC equals vim.NIL
This commit is contained in:
commit
a2f1264909
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ M._get_rc_status = function(callback)
|
|||
return callback(nil, nil)
|
||||
end
|
||||
|
||||
if status.state.foundRC == nil then
|
||||
if status.state.foundRC == vim.NIL then
|
||||
cache.status = nil
|
||||
cache.path = nil
|
||||
cache.last_check = now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue