feat(rocks): simple rockspecs are now fully resolved by lazy without luarocks. See #1548

This commit is contained in:
Folke Lemaitre 2024-06-25 20:53:42 +02:00
parent be74a8a535
commit 6b8bf58ebf
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
5 changed files with 80 additions and 32 deletions

View file

@ -287,7 +287,7 @@ function M.find_local_spec()
return
end
local path = vim.uv.cwd()
while path ~= "" do
while path and path ~= "" do
local file = path .. "/" .. M.LOCAL_SPEC
if vim.fn.filereadable(file) == 1 then
return {