mirror of https://github.com/helix-editor/helix
parent
b3b1c88d27
commit
af3b670de6
|
@ -179,6 +179,7 @@ impl EditorView {
|
||||||
}
|
}
|
||||||
|
|
||||||
Self::render_rulers(editor, doc, view, inner, surface, theme);
|
Self::render_rulers(editor, doc, view, inner, surface, theme);
|
||||||
|
Self::render_inline_blame(&config.inline_blame, doc, view, &mut decorations, theme);
|
||||||
|
|
||||||
let primary_cursor = doc
|
let primary_cursor = doc
|
||||||
.selection(view.id)
|
.selection(view.id)
|
||||||
|
@ -204,8 +205,6 @@ impl EditorView {
|
||||||
config.end_of_line_diagnostics,
|
config.end_of_line_diagnostics,
|
||||||
));
|
));
|
||||||
|
|
||||||
Self::render_inline_blame(&config.inline_blame, doc, view, &mut decorations, theme);
|
|
||||||
|
|
||||||
render_document(
|
render_document(
|
||||||
surface,
|
surface,
|
||||||
inner,
|
inner,
|
||||||
|
|
|
@ -20,10 +20,7 @@ pub struct InlineBlame {
|
||||||
|
|
||||||
impl InlineBlame {
|
impl InlineBlame {
|
||||||
pub fn new(style: Style, lines: LineBlame) -> Self {
|
pub fn new(style: Style, lines: LineBlame) -> Self {
|
||||||
InlineBlame {
|
InlineBlame { style, lines }
|
||||||
style,
|
|
||||||
lines,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue