summaryrefslogtreecommitdiffstats
path: root/src/parse_style.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse_style.rs')
-rw-r--r--src/parse_style.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parse_style.rs b/src/parse_style.rs
index 565defa8..1fa4fb03 100644
--- a/src/parse_style.rs
+++ b/src/parse_style.rs
@@ -241,6 +241,8 @@ fn parse_ansi_term_style(
style.is_strikethrough = true;
} else if word == "ul" || word == "underline" {
style.is_underline = true;
+ } else if word == "file" {
+ // Allow: this is meaningful in hunk-header-style.
} else if !seen_foreground {
if word == "syntax" {
is_syntax_highlighted = true;