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.
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.