We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79132a9 commit aa6a704Copy full SHA for aa6a704
lua/tiny-inline-diagnostic/diagnostic.lua
@@ -89,6 +89,10 @@ end
89
local function filter_diagnostics(opts, event, diagnostics)
90
local filtered = filter_by_severity(opts, diagnostics)
91
92
+ table.sort(filtered, function(a, b)
93
+ return a.severity < b.severity
94
+ end)
95
+
96
if not opts.options.multilines.enabled then
97
return M.filter_diags_under_cursor(opts, event.buf, filtered)
98
end
lua/tiny-inline-diagnostic/init.lua
@@ -28,7 +28,6 @@ local default_config = {
28
use_icons_from_diagnostic = false,
29
throttle = 20,
30
softwrap = 30,
31
- multiple_diag_under_cursor = false,
32
multilines = {
33
enabled = false,
34
always_show = false,
0 commit comments