Skip to content

Commit 9371771

Browse files
committed
fix: Style ' ' after file sigil
1 parent f2832d2 commit 9371771

20 files changed

+22
-22
lines changed

examples/expected_type.svg

Lines changed: 1 addition & 1 deletion
Loading

examples/footer.svg

Lines changed: 1 addition & 1 deletion
Loading

examples/format.svg

Lines changed: 1 addition & 1 deletion
Loading

examples/multislice.svg

Lines changed: 2 additions & 2 deletions
Loading

src/renderer/display_list.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ impl DisplaySet<'_> {
233233
header_type,
234234
} => {
235235
let header_sigil = match header_type {
236-
DisplayHeaderType::Initial => "-->",
237-
DisplayHeaderType::Continuation => ":::",
236+
DisplayHeaderType::Initial => "--> ",
237+
DisplayHeaderType::Continuation => "::: ",
238238
};
239239
let lineno_color = stylesheet.line_no();
240240
buffer.puts(line_offset, lineno_width, header_sigil, *lineno_color);

tests/fixtures/color/ann_eof.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/fixtures/color/ann_insertion.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/fixtures/color/ann_multiline.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/fixtures/color/ann_multiline2.svg

Lines changed: 1 addition & 1 deletion
Loading

tests/fixtures/color/ann_removed_nl.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)