Skip to content

Commit aff6748

Browse files
committed
fix(commands/relatedDiagnostics): error opening quickfix list in nightly
1 parent 1933318 commit aff6748

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lua/rustaceanvim/commands/diagnostic.lua

+1-5
Original file line numberDiff line numberDiff line change
@@ -449,11 +449,7 @@ function M.related_diagnostics()
449449
end)
450450
else
451451
vim.fn.setqflist({}, ' ', { title = 'related diagnostics', items = quickfix_entries })
452-
if vim.cmd.botright then
453-
vim.cmd.botright('copen')
454-
else
455-
vim.cmd.copen()
456-
end
452+
vim.cmd([[ botright copen ]])
457453
end
458454
end
459455

0 commit comments

Comments
 (0)