mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-11 05:38:31 +00:00
feat(log): Pressing "Enter" on mutable log lines runs jj edit to seamlessly navigate repisotory commit history
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user