Skip to content

Commit

Permalink
Add missing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Oct 22, 2024
1 parent 2f94a8c commit 2e648c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/refiner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ pub(crate) struct Formatter {
}

impl Formatter {
// The other LineStyles live in token_collector.rs

pub(crate) fn default() -> Self {
Formatter {
line_style_old: LineStyle {
Expand Down
2 changes: 2 additions & 0 deletions src/token_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ pub(crate) struct LineStyle {
pub(crate) highlighted_style: AnsiStyle,
}

// The base line styles live in refiner.rs

pub(crate) const LINE_STYLE_CONFLICT_BASE: LineStyle = {
LineStyle {
prefix_style: ANSI_STYLE_NORMAL.with_inverse(true),
Expand Down

0 comments on commit 2e648c3

Please sign in to comment.