Skip to content

Commit cfc4385

Browse files
fei6409FabijanZulj
authored andcommitted
fix: sort commit info
1 parent 9051141 commit cfc4385

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/blame/commit_info.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function CommitInfo:open(commit)
4040
table.insert(formatted_commit, k .. ": " .. v)
4141
end
4242
end
43+
table.sort(formatted_commit)
4344
local info_buf = vim.api.nvim_create_buf(false, true)
4445
local width = utils.longest_string_in_array(formatted_commit) + 5
4546
local height = #formatted_commit

0 commit comments

Comments
 (0)