Skip to content

Commit

Permalink
Honor grep-header-decoration-style for ripgrep output
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Jun 3, 2023
1 parent 481d3c1 commit a28231a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse_styles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ fn make_commit_file_hunk_header_styles(opt: &cli::Opt, styles: &mut HashMap<&str
(
"ripgrep-header-style",
style_from_str_with_handling_of_special_decoration_attributes(
opt.grep_header_style.as_deref().unwrap_or("file syntax"),
opt.grep_header_style.as_deref().unwrap_or("file"),
None,
Some("none"),
opt.grep_header_decoration_style.as_deref().or(Some("none")),
true_color,
opt.git_config(),
),
Expand Down

0 comments on commit a28231a

Please sign in to comment.