feat(log): Pressing "Enter" on mutable log lines runs jj edit to seamlessly navigate repisotory commit history

This commit is contained in:
NicolasGB
2025-07-08 12:15:20 +02:00
parent b6def1df67
commit c474bc63f2
2 changed files with 57 additions and 1 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ local function format_jj_log(item, picker)
end
if item.commit_id then
ret[#ret + 1] = { a(item.commit_id, 4, { truncate = true }), "SnacksPickerGitCommit" }
ret[#ret + 1] = { a(item.commit_id, 10, { truncate = true }), "SnacksPickerGitCommit" }
if #item.commit_id >= 4 then
ret[#ret + 1] = { " " }
end