Module sorter

Module sorter 

Source
Expand description

Diagnostic sorting utilities.

Supplies a severity sorter used by statusline / floating windows. Missing severities default to nvim_oxi::Integer::MIN to push them last relative to valid levels.

Functionsยง

get_severity_or_default ๐Ÿ”’
Gets the severity from a [Dictionary], defaulting to Integer::MIN if not present.
sort
Sorts diagnostics by severity.