mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(picker.git_branches): git log preview. Closes #2360
Some checks are pending
CI / ci (push) Waiting to run
Some checks are pending
CI / ci (push) Waiting to run
This commit is contained in:
parent
b1a9010160
commit
597ebd4115
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ function M.git_log(ctx)
|
|||
M.cmd(cmd, ctx, {
|
||||
ft = "git",
|
||||
---@param text string
|
||||
on_line = function(text)
|
||||
on_line = function(_, text)
|
||||
local commit, msg, date, author = text:match("^(%S+) (.*) %((.*)%) <(.*)>$")
|
||||
if commit then
|
||||
row = row + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue