fix match block

pull/8018/head
Nawaf 1 year ago
parent de3f5516e1
commit 4699a9edf0

@ -575,11 +575,10 @@ impl EditorView {
text = &filename[to_trim..]; text = &filename[to_trim..];
to_trim = 0; to_trim = 0;
} }
Ordering::Greater => { _ => {
to_trim -= text.len(); to_trim -= text.len();
continue; continue;
} }
_ => {}
} }
} }
let style = if idx == current_doc_idx.unwrap() { let style = if idx == current_doc_idx.unwrap() {

Loading…
Cancel
Save