Skip to content

Commit

Permalink
fix line format
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-streltsov committed Feb 26, 2024
1 parent 7a42406 commit 1785907
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ impl Row {
let highlighting_type = self.highlighting.get(index).unwrap_or(&highlighting::Type::None);
if highlighting_type != current_highlighting {
current_highlighting = highlighting_type;
let start_highlight =
format!("{}", termion::color::Fg(highlighting_type.to_color()));
let start_highlight = format!("{}", termion::color::Fg(highlighting_type.to_color()));
result.push_str(&start_highlight[..]);
}
if c == '\t' {
Expand Down

0 comments on commit 1785907

Please sign in to comment.