summaryrefslogtreecommitdiffstats
path: root/src/options
AgeCommit message (Collapse)Author
2020-09-18Fix `git add -p` to work when any options enabled (#323)ryuta69
* Add test for input and output for diff interactive filter * Add color_only in config struct * Refactor should_handle false when color_only and FileMeta, CommitMeta * Refactor handle_hunk_header_line to show raw_text with color_format when color_only * Fix indent * Revert the logic changes for interactive filter * Add color only workaround in set options * Add more test patterns for diff interactive fillter
2020-09-03Hack: env var for boolean flagDan Davison
The proper way would be using env = "DELTA_NAVIGATE", but see https://github.com/clap-rs/clap/issues/1476 https://github.com/TeXitoi/structopt/issues/372 Doing it as in this commit probably has drawbacks, e.g. related to whether the argument is recorded as having been supplied.
2020-08-20Interpret `line-numbers = false` in gitconfig as no line numbers at all (#296)Dan Davison
Fixes #292
2020-08-15RearrangeDan Davison
2020-08-14Add new option to show-config and test of gitconfigDan Davison
2020-08-14Truncate long lines (#290)Dan Davison
Fixes #154, #288
2020-08-08Eliminate an .unwrap()Dan Davison
2020-08-08Disable side-by-side when color-only is in effectDan Davison
Fixes #274
2020-08-01Add inspect-raw-lines {true,false} optionDan Davison
Fixes #72
2020-08-01Emit raw lines instead of explicitly handling --color-movedDan Davison
2020-08-01Initial implementation of color-moved supportDan Davison
- Inspect the raw hunk line - If it does not appear to be a standard minus/plus line, treat it as moved - Apply special delta color-moved-* styles
2020-08-01Match paging-mode case-insensitivelyDan Davison
2020-08-01Fix order of `use` statementsDan Davison
2020-07-30Honor width option in git_configryuta69
* Update width to accept gitconfig value * Feature set width from gitconfig only when cli option is not supplied * Add unittest of width in gitconfig * Delete duplicate field of width It's already roled by decorations_width. * Fix show_config of width with decorations_width * Fix test not with static number but dynamic variable * Fix the way of getting value of user configured width use gather_builtin_features_recursively in set_options is the ideal way, it can get inside custom_features and set as option. * Refactor checking if none * Fix if width is assigned variable then output variable
2020-07-22Format files and commits as OSC 8 hyperlinksDan Davison
Closes #257
2020-07-22Read git config entries at start-upDan Davison
2020-07-15Set features earlyDan Davison
Fixes #252
2020-07-15Fix programmatic construction of option/flag namesDan Davison
Fixes #253
2020-07-15Add test assertions for opt.computedDan Davison
2020-07-15Parse paging_mode option value after setting itDan Davison
2020-07-15Add test that all options can be set in git configDan Davison
2020-07-15Refactor: unify test utility functionsDan Davison
2020-07-11Allow user-supplied width to exceed terminal width0.3.0Dan Davison
2020-07-11Add side-by-side diff view (#243)Dan Davison
Closes #86
2020-07-10Refactor: return Vec instead of StringDan Davison
2020-07-10Fix typoDan Davison
2020-07-10Allow a builtin feature to reference other builtin featuresDan Davison
2020-07-10Refactor: gather_featuresDan Davison
2020-06-30Add more computed values to options structDan Davison
2020-06-30Set light/dark mode before builtin featuresDan Davison
2020-06-30Rearrange: options::theme moduleDan Davison
2020-06-30Allow "light" syntax themes to be used with dark mode and vice versaDan Davison
2020-06-30Set the light/dark/theme option values earlyDan Davison
2020-06-30Call preprocessDan Davison
2020-06-30Trivial changesDan Davison
2020-06-30Refactor: options moduleDan Davison