Merge pull request #8 from ergotu/fix-missing-envrc
Some checks failed
Style & Lint / lint (5.1) (push) Has been cancelled
Style & Lint / style (0.19.1) (push) Has been cancelled

fix: check if status.state.foundRC equals vim.NIL
This commit is contained in:
raf 2025-04-23 15:02:48 +00:00 committed by GitHub
commit a2f1264909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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