mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(picker.git): formatting of git log
This commit is contained in:
parent
988af56423
commit
f32002607a
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ function M.git_log(item, picker)
|
|||
local ret = {} ---@type snacks.picker.Highlight[]
|
||||
ret[#ret + 1] = { picker.opts.icons.git.commit, "SnacksPickerGitCommit" }
|
||||
local c = item.commit or item.branch or "HEAD"
|
||||
ret[#ret + 1] = { a(c, 7, { truncate = true }), "SnacksPickerGitCommit" }
|
||||
ret[#ret + 1] = { a(c, 8, { truncate = true }), "SnacksPickerGitCommit" }
|
||||
|
||||
ret[#ret + 1] = { " " }
|
||||
if item.date then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue