Skip to content

Commit

Permalink
fix(pkg): normalize paths for packpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 1, 2024
1 parent 3a8a58a commit ee3d47f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazydev/pkg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function M.pack_unloaded(modname)
for _, pack in ipairs(vim.fn.expand(site .. "/pack/*/opt/*/lua", false, true)) do
if not pack:find("*", 1, true) then
packs[#packs + 1] = pack:sub(1, -5)
packs[#packs + 1] = vim.fs.normalize(pack:sub(1, -5))
end
end
end
Expand Down

0 comments on commit ee3d47f

Please sign in to comment.