mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat(rocks): simple rockspecs are now fully resolved by lazy without luarocks. See #1548
This commit is contained in:
parent
be74a8a535
commit
6b8bf58ebf
5 changed files with 80 additions and 32 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue