Skip to content

Commit

Permalink
fix(setqflist): CLI
Browse files Browse the repository at this point in the history
Fixes #907
  • Loading branch information
lewis6991 committed Dec 12, 2023
1 parent aeab36f commit e20c96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gitsigns/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ M.setqflist = async.void(function(target, opts)
end)

C.setqflist = function(args, _)
local target = tonumber(args[2]) or args[2]
local target = tonumber(args[1]) or args[1]
M.setqflist(target, args)
end

Expand Down

0 comments on commit e20c96e

Please sign in to comment.