Skip to content

Commit

Permalink
fix(on_output_quickfix): handle 'open' parameter correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Nov 14, 2024
1 parent cf7410b commit 65b20c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/overseer/component/on_output_quickfix.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ local comp = {
items = valid_items
end
if params.open or (not vim.tbl_isempty(valid_items) and params.open_on_match) then
scroll_buffer = scroll_buffer or copen(self, params.open_height)
scroll_buffer = copen(self, params.open_height) or scroll_buffer
cur_qf = vim.fn.getqflist({ context = 0, winid = 0, id = self.qf_id })
end
local what = {
Expand Down

0 comments on commit 65b20c5

Please sign in to comment.