mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 02:17:09 +10: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:
committed by
GitHub
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user