mirror of https://github.com/helix-editor/helix
Merge 30394d406d
into 4418e338e8
commit
0cba5844cc
|
@ -231,6 +231,13 @@ fn diag_picker(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flat_diag.sort_by(|a, b| {
|
||||||
|
a.diag
|
||||||
|
.severity
|
||||||
|
.unwrap_or(lsp::DiagnosticSeverity::HINT)
|
||||||
|
.cmp(&b.diag.severity.unwrap_or(lsp::DiagnosticSeverity::HINT))
|
||||||
|
});
|
||||||
|
|
||||||
let styles = DiagnosticStyles {
|
let styles = DiagnosticStyles {
|
||||||
hint: cx.editor.theme.get("hint"),
|
hint: cx.editor.theme.get("hint"),
|
||||||
info: cx.editor.theme.get("info"),
|
info: cx.editor.theme.get("info"),
|
||||||
|
|
Loading…
Reference in New Issue