summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index fba95320..033178d5 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -399,6 +399,12 @@ pub struct Opt {
/// (underline), 'ol' (overline), or the combination 'ul ol'.
pub hunk_header_decoration_style: String,
+ #[structopt(long = "inline-hint-style", default_value = "blue")]
+ /// Style (foreground, background, attributes) for content added by delta to
+ /// the original diff such as special characters to highlight tabs, and the
+ /// wrap and prefix symbols used in side-by-side mode. See STYLES section.
+ pub inline_hint_style: String,
+
/// The regular expression used to decide what a word is for the within-line highlight
/// algorithm. For less fine-grained matching than the default try --word-diff-regex="\S+"
/// --max-line-distance=1.0 (this is more similar to `git --word-diff`).