Include diagnostic info in HighlightedChunks iterator
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
f1db618be2
commit
c539069cbb
12 changed files with 248 additions and 90 deletions
|
@ -475,7 +475,12 @@ async fn test_diagnostics(mut cx: gpui::TestAppContext) {
|
|||
message: "undefined variable 'CCC'".to_string()
|
||||
}
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
dbg!(buffer
|
||||
.snapshot()
|
||||
.highlighted_text_for_range(0..buffer.len())
|
||||
.collect::<Vec<_>>());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue