fix(setqflist): CLI

Fixes #907
This commit is contained in:
Lewis Russell 2023-12-12 10:54:42 +00:00
parent aeab36f4b5
commit e20c96e9c3
1 changed files with 1 additions and 1 deletions

View File

@ -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