Skip to content

Commit

Permalink
fix(quickfix): invoke callback once with all items (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaSolOs committed Sep 17, 2023
1 parent a0f1bff commit a97a355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/git-conflict.lua
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,9 @@ function M.conflicts_to_qf_items(callback)
else
table.insert(items, item)
end

callback(items)
end

callback(items)
end

---@param bufnr integer?
Expand Down

0 comments on commit a97a355

Please sign in to comment.