Allow file links in markdown & filter links a bit aggressively
This commit is contained in:
parent
a09ee3a41b
commit
4688a94a54
5 changed files with 81 additions and 23 deletions
|
@ -2439,9 +2439,13 @@ impl Element<Editor> for EditorElement {
|
|||
}
|
||||
|
||||
let visible_rows = start_row..start_row + line_layouts.len() as u32;
|
||||
let mut hover = editor
|
||||
.hover_state
|
||||
.render(&snapshot, &style, visible_rows, cx);
|
||||
let mut hover = editor.hover_state.render(
|
||||
&snapshot,
|
||||
&style,
|
||||
visible_rows,
|
||||
editor.workspace.as_ref().map(|(w, _)| w.clone()),
|
||||
cx,
|
||||
);
|
||||
let mode = editor.mode;
|
||||
|
||||
let mut fold_indicators = editor.render_fold_indicators(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue