Show diagnostic source in inline diagnostic
This commit is contained in:
parent
f7de0ad8ae
commit
185c1650df
2 changed files with 16 additions and 5 deletions
|
@ -677,7 +677,7 @@ impl Item for ProjectDiagnosticsEditor {
|
|||
}
|
||||
|
||||
fn diagnostic_header_renderer(diagnostic: Diagnostic) -> RenderBlock {
|
||||
let (message, highlights) = highlight_diagnostic_message(&diagnostic.message);
|
||||
let (message, highlights) = highlight_diagnostic_message(Vec::new(), &diagnostic.message);
|
||||
Arc::new(move |cx| {
|
||||
let settings = cx.global::<Settings>();
|
||||
let theme = &settings.theme.editor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue