make dep only require nvim 0.8, and make the lazy utils better
This commit is contained in:
@ -18,7 +18,7 @@ local function default_log_path()
|
||||
vim.loop.fs_mkdir(path, 0x1ff) -- 0777
|
||||
end
|
||||
|
||||
return vim.fs.joinpath(path, "/dep.log")
|
||||
return vim.fs.normalize(path).."/dep.log"
|
||||
end
|
||||
|
||||
--- attempt to format a string
|
||||
|
@ -331,7 +331,7 @@ end
|
||||
--- set the base directory for packages
|
||||
---@param _base_dir string base directory
|
||||
function package.set_base_dir(_base_dir)
|
||||
base_dir = _base_dir
|
||||
base_dir = vim.fs.normalize(_base_dir)
|
||||
end
|
||||
|
||||
--- get the base directory for packages
|
||||
|
Reference in New Issue
Block a user