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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse_style.rs b/src/parse_style.rs
index 1fa4fb03..6b7179a9 100644
--- a/src/parse_style.rs
+++ b/src/parse_style.rs
@@ -241,8 +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 word == "line-number" || word == "file" {
+ // Allow: these are meaningful in hunk-header-style.
} else if !seen_foreground {
if word == "syntax" {
is_syntax_highlighted = true;