diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-04-21 07:18:37 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2021-04-21 10:27:11 -0400 |
commit | c5cde12e48a330c9b04a029e70987ce7f0185367 (patch) | |
tree | 03d3640ea51f4f5ff1b8c4bd96940355331201f7 /src/cli.rs | |
parent | 33b9c9e749f85123fc6300f07284eef79cc6cfb6 (diff) |
Add inline-hint-style option, do not use syntect styleswrap-inline-hint-style-1
DNW
Why are the inline hint symbols having the background color set to
white when the background color is None in the style struct?
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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`). |