Skip to content

Commit b2ccee1

Browse files
committed
Remove ANSI escapes from XI:B notes
1 parent d2e3eb7 commit b2ccee1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/rules/rule11b.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ impl Rule for Rule11b {
6868
.with_code("XI:B")
6969
.with_message("Line contains DOS-style ending")
7070
.with_label(Label::primary((), cr_pos..(cr_pos + 1)))
71-
// TODO: Don't hard-code escape sequences
72-
.with_note(
73-
"See \x1b[4m:h 'fileformat'\x1b[m in Vim for info on how to fix this",
74-
),
71+
.with_note("Use the `fileformat' option in Vim to fix this"),
7572
);
7673

7774
// Apply the limit on the number of diagnostics produced

0 commit comments

Comments
 (0)