mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-10 16:09:38 +00:00
The only possibility for having a table with different severities to
pass to `vim.diagnostics.get()` as opts is when setting a range (limit
and bound), so just check for an empty table when a range is set.
(cherry picked from commit 40c8d2fc2b)