Only reset lines where highlight changes

This commit is contained in:
Jeremy Soller 2022-10-26 21:27:29 -06:00
parent 6f7e59e092
commit f85223b376
2 changed files with 8 additions and 3 deletions

View file

@ -90,6 +90,7 @@ impl<'a> Attrs<'a> {
}
}
#[derive(Eq, PartialEq)]
pub struct AttrsList<'a> {
defaults: Attrs<'a>,
spans: Vec<(usize, usize, Attrs<'a>)>,