Skip to content

Commit f523c59

Browse files
committed
remove carets
1 parent b1e0317 commit f523c59

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

  • crates/emmylua_check/src/terminal_display

crates/emmylua_check/src/terminal_display/display.rs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -286,22 +286,6 @@ impl TerminalDisplay {
286286
print!("{}", error_part);
287287
}
288288
println!("{}", suffix);
289-
290-
// Print indicator
291-
print!(" {:width$} │ ", "", width = line_num_width);
292-
for _ in 0..start_col {
293-
print!(" ");
294-
}
295-
if self.supports_color {
296-
print!("{}", level_color);
297-
}
298-
for _ in start_col..std::cmp::max(start_col + 1, end_col) {
299-
print!("^");
300-
}
301-
if self.supports_color {
302-
print!("\x1b[0m");
303-
}
304-
println!();
305289
} else {
306290
// Start or end line of multi-line error
307291
if self.supports_color {

0 commit comments

Comments
 (0)