Skip to content

Commit

Permalink
fixup(lazy)!: Correct pathspec to packspec.
Browse files Browse the repository at this point in the history
Signed-off-by: Guennadi Maximov C <[email protected]>
  • Loading branch information
DrKJeff16 committed Dec 20, 2024
1 parent e5d0d96 commit 846b50b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lua/config/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ Lazy.setup({
versions = true,
sources = (function()
---@type LazySources
local S = { 'lazy' }
local S = { 'lazy', 'packspec' }

if not is_root() then
--- If `luarocks` is available and configured
if require('config.util').luarocks_check() then
table.insert(S, 'rockspec')
end
--- If `pathspec-find` is available
if executable('pathspec-find') then
table.insert(S, 'pathspec')
end
-- --- If `pathspec-find` is available
-- if executable('pathspec-find') then
-- table.insert(S, 'pathspec')
-- end
end

return S
Expand Down

0 comments on commit 846b50b

Please sign in to comment.