mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
fix match block
This commit is contained in:
parent
de3f5516e1
commit
4699a9edf0
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user