Skip to content

Commit 4f27fc3

Browse files
committed
fix(ui): sort plugins case insensitive
1 parent 7ca3bdb commit 4f27fc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/lazy/view/render.lua

+3
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ function M:section(section)
241241
end, self.plugins)
242242

243243
local count = #section_plugins
244+
table.sort(section_plugins, function(a, b)
245+
return a.name:lower() < b.name:lower()
246+
end)
244247
if count > 0 then
245248
self:append(section.title, "LazyH2"):append(" (" .. count .. ")", "LazyComment"):nl()
246249
for _, plugin in ipairs(section_plugins) do

0 commit comments

Comments
 (0)