mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(diagnostic): use botright copen for qflist (#17475)
This matches the LSP handlers, and forces the qflist for diagnostics to span across the horizontal space, below all open windows.
This commit is contained in:
parent
6a3acccd8b
commit
d80c9b9259
@ -447,7 +447,7 @@ local function set_list(loclist, opts)
|
||||
vim.fn.setqflist({}, ' ', { title = title, items = items })
|
||||
end
|
||||
if open then
|
||||
vim.api.nvim_command(loclist and "lopen" or "copen")
|
||||
vim.api.nvim_command(loclist and "lopen" or "botright copen")
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user