Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
hoofcushion committed Jul 4, 2024
1 parent 3993e66 commit 6a27e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/lazy/core/loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ function M.load(plugins, reason, opts)
::continue::
end

table.sort(queue,function (a,b)
return a.priority and b.priority and a.priority>b.priority
table.sort(queue, function(a, b)
return a.priority and b.priority and a.priority > b.priority
end)

for _,plugin in ipairs(queue) do
for _, plugin in ipairs(queue) do
M._load(plugin, reason, opts)
end
end
Expand Down

0 comments on commit 6a27e13

Please sign in to comment.