diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-28 14:52:01 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-28 15:17:49 -0400 |
commit | e0c07a77323bad71d82043f1418d2538ade5a7e3 (patch) | |
tree | 667b1e93ee908be04d2c4aefa8eacc456d80d68f | |
parent | 1e19d8da46576d968446b0dccb991b9ab01edc69 (diff) |
Make diff-highlight default to raw mode for commit/file/hunk-header
-rw-r--r-- | src/features/diff_highlight.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/features/diff_highlight.rs b/src/features/diff_highlight.rs index 20554fde..13b0814f 100644 --- a/src/features/diff_highlight.rs +++ b/src/features/diff_highlight.rs @@ -9,8 +9,8 @@ pub fn _make_feature(bold: bool) -> Vec<(String, OptionValueFunction)> { ( "commit-style", String, - Some("color.diff.commit"), - _opt => "none" + None, + _opt => "raw" ), ( "commit-decoration-style", @@ -21,8 +21,8 @@ pub fn _make_feature(bold: bool) -> Vec<(String, OptionValueFunction)> { ( "file-style", String, - Some("color.diff.meta"), - _opt => "none" + None, + _opt => "raw" ), ( "file-decoration-style", @@ -33,14 +33,14 @@ pub fn _make_feature(bold: bool) -> Vec<(String, OptionValueFunction)> { ( "hunk-header-style", String, - Some("color.diff.frag"), - _opt => "bold syntax" + None, + _opt => "raw" ), ( "hunk-header-decoration-style", String, None, - _opt => "magenta box" + _opt => "none" ), ( "minus-style", |