summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-12-23 13:03:34 +0000
committerGitHub <noreply@github.com>2020-12-23 13:03:34 +0000
commitf501e23887c1878ece1c6ece56cb751135b34c26 (patch)
tree1336c83c7f22259254de1cb2383421245353beb4 /src
parent5e39a0e4dde2e010b13cb0d9cf01212e6910de4f (diff)
308 side by side tabs (#459)
* Add #308 bug reproduction delta --no-gitconfig --diff-highlight --side-by-side < etc/examples/308-side-by-side-tabs.diff * Expand tabs under diff-highlight and diff-so-fancy Fixes #308
Diffstat (limited to 'src')
-rw-r--r--src/features/diff_highlight.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/features/diff_highlight.rs b/src/features/diff_highlight.rs
index ea7ac7c9..0f4d5de3 100644
--- a/src/features/diff_highlight.rs
+++ b/src/features/diff_highlight.rs
@@ -7,14 +7,12 @@ pub fn make_feature() -> Vec<(String, OptionValueFunction)> {
pub fn _make_feature(bold: bool) -> Vec<(String, OptionValueFunction)> {
let mut feature = raw::make_feature();
+ feature = feature
+ .into_iter()
+ .filter(|(s, _)| s != "keep-plus-minus-markers" && s != "tabs")
+ .collect();
feature.extend(builtin_feature!([
(
- "keep-plus-minus-markers",
- bool,
- None,
- _opt => false
- ),
- (
"minus-style",
String,
Some("color.diff.old"),