Skip to content

Commit

Permalink
Update diagnostic.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb authored Dec 4, 2024
1 parent 8281903 commit 7fe95bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rustaceanvim/commands/diagnostic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ function M.related_diagnostics()
end)
else
vim.fn.setqflist({}, ' ', { title = 'related diagnostics', items = quickfix_entries })
vim.cmd.botright and vim.cmd.botright('copen') or vim.cmd.copen()
type(vim.cmd.botright) == 'function' and vim.cmd.botright('copen') or vim.cmd.copen()
end
end

Expand Down

0 comments on commit 7fe95bd

Please sign in to comment.