Add is_tab field to chunks
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
cf304a0edc
commit
4f8607039c
5 changed files with 57 additions and 11 deletions
|
@ -833,10 +833,7 @@ impl<'a> Iterator for BlockChunks<'a> {
|
|||
|
||||
return Some(Chunk {
|
||||
text: unsafe { std::str::from_utf8_unchecked(&NEWLINES[..line_count as usize]) },
|
||||
syntax_highlight_id: None,
|
||||
highlight_style: None,
|
||||
diagnostic_severity: None,
|
||||
is_unnecessary: false,
|
||||
..Default::default()
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue