summaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-12-28 03:17:21 +0000
committerGitHub <noreply@github.com>2020-12-28 03:17:21 +0000
commit959b211e050f408a1b5fe9c40ac81573e3ac0937 (patch)
treead7e374f26a75df3bcdb85da06ae1a8f270131bd /src/features
parent7990db4b94801c1a5ba437d32293626ae3878a32 (diff)
parent91f6707fb186279a505fdb69456d11dbf93870fd (diff)
Merge pull request #473 from dandavison/move-line-number
Move line number into hunk header
Diffstat (limited to 'src/features')
-rw-r--r--src/features/diff_so_fancy.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/diff_so_fancy.rs b/src/features/diff_so_fancy.rs
index cdc0c359..3898dac1 100644
--- a/src/features/diff_so_fancy.rs
+++ b/src/features/diff_so_fancy.rs
@@ -38,7 +38,7 @@ pub fn make_feature() -> Vec<(String, OptionValueFunction)> {
"hunk-header-style",
String,
Some("color.diff.frag"),
- _opt => "bold syntax"
+ _opt => "file line-number bold syntax"
),
(
"hunk-header-decoration-style",
@@ -70,7 +70,7 @@ pub mod tests {
assert_eq!(opt.file_style, "11");
assert_eq!(opt.file_decoration_style, "bold yellow ul ol");
- assert_eq!(opt.hunk_header_style, "bold syntax");
+ assert_eq!(opt.hunk_header_style, "file line-number bold syntax");
assert_eq!(opt.hunk_header_decoration_style, "magenta box");
}