fix match block

This commit is contained in:
Nawaf 2023-08-21 13:26:27 -04:00
parent de3f5516e1
commit 4699a9edf0

View File

@ -575,11 +575,10 @@ pub fn render_bufferline(editor: &Editor, viewport: Rect, surface: &mut Surface)
text = &filename[to_trim..];
to_trim = 0;
}
Ordering::Greater => {
_ => {
to_trim -= text.len();
continue;
}
_ => {}
}
}
let style = if idx == current_doc_idx.unwrap() {