Skip to content

Commit

Permalink
not automatically opening first qflist item
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicDuck committed Jan 3, 2025
1 parent 678f1bb commit d464b0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/grug-far/actions/qflist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ local function openQuickfixList(buf, context, resultsLocations)

-- open/goto target win so that quickfix list will open items into the terget win
local targetWin = utils.getOpenTargetWin(context, buf)
vim.api.nvim_set_current_win(targetWin)

-- open list below taking whole horizontal space
vim.cmd('botright copen | stopinsert')
vim.api.nvim_set_current_win(targetWin)
vim.cmd('cfirst')
end

--- gets the result locations for the quickfix list, ignoring ones for deleted
Expand Down

0 comments on commit d464b0b

Please sign in to comment.