Skip to content

Commit

Permalink
fix(commands/relatedDiagnostics): error opening quickfix list in nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Dec 17, 2024
1 parent 1933318 commit aff6748
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lua/rustaceanvim/commands/diagnostic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,7 @@ function M.related_diagnostics()
end)
else
vim.fn.setqflist({}, ' ', { title = 'related diagnostics', items = quickfix_entries })
if vim.cmd.botright then
vim.cmd.botright('copen')
else
vim.cmd.copen()
end
vim.cmd([[ botright copen ]])
end
end

Expand Down

0 comments on commit aff6748

Please sign in to comment.