mirror of https://github.com/folke/lazy.nvim.git
fix(cache): always normalize modname separators
This commit is contained in:
parent
c7c1295c3e
commit
8544c389ab
|
@ -116,6 +116,7 @@ end
|
||||||
---@param modname string
|
---@param modname string
|
||||||
---@return any
|
---@return any
|
||||||
function M.loader(modname)
|
function M.loader(modname)
|
||||||
|
modname = modname:gsub("/", ".")
|
||||||
local entry = M.cache[modname]
|
local entry = M.cache[modname]
|
||||||
|
|
||||||
local chunk, err
|
local chunk, err
|
||||||
|
|
Loading…
Reference in New Issue