mirror of https://github.com/helix-editor/helix
Compare commits
3 Commits
f69886ed16
...
a6888c1cb7
Author | SHA1 | Date |
---|---|---|
|
a6888c1cb7 | |
|
4281228da3 | |
|
30394d406d |
|
@ -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