mirror of https://github.com/folke/lazy.nvim.git
fix(cache): cache file names on Windows
This commit is contained in:
parent
b68cf58962
commit
609445a051
|
@ -63,7 +63,7 @@ end
|
||||||
---@param name string can be a module name, or a file name
|
---@param name string can be a module name, or a file name
|
||||||
---@private
|
---@private
|
||||||
function Cache.cache_file(name)
|
function Cache.cache_file(name)
|
||||||
return M.path .. "/" .. name:gsub("[/\\]", "%%") .. ".luac"
|
return M.path .. "/" .. name:gsub("[/\\:]", "%%") .. "c"
|
||||||
end
|
end
|
||||||
|
|
||||||
---@param entry CacheEntry
|
---@param entry CacheEntry
|
||||||
|
|
Loading…
Reference in New Issue