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
|
||||
---@private
|
||||
function Cache.cache_file(name)
|
||||
return M.path .. "/" .. name:gsub("[/\\]", "%%") .. ".luac"
|
||||
return M.path .. "/" .. name:gsub("[/\\:]", "%%") .. "c"
|
||||
end
|
||||
|
||||
---@param entry CacheEntry
|
||||
|
|
Loading…
Reference in New Issue