make dep only require nvim 0.8, and make the lazy utils better
This commit is contained in:
parent
296dc11c93
commit
d217ffa0b6
4 changed files with 23 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue