fix line highlights
@@ -164,6 +164,7 @@ pub fn new(path: PathBuf, update_sender: Arc<Sender<UpdateEvent>>) -> Self {
};
buffer.text_layouts =
im::Vector::from(vec![Arc::new(None); buffer.num_lines()]);
+ buffer.line_highlights = im::Vector::from(vec![None; buffer.num_lines()]);
buffer
}
