Age | Commit message (Collapse) | Author |
|
|
|
* Refactor: hyperlinks utility
* Add hyperlinks-commit-link-format option
Fixes #613
|
|
Fixes #174
|
|
* Update to latest version of bat::terminal::to_ansi_color
Fixes #447
* Delete mention of historical syntax theme ansi-light
* Update tests
|
|
|
|
|
|
Fixes #567
|
|
* CI: check docs
* Don't use triple-slash doc comments
A full pass would need to be done to make the comments suitable for
generating documentation.
Co-authored-by: Dan Davison <dandavison7@gmail.com>
|
|
|
|
* Clippy
|
|
|
|
|
|
|
|
|
|
and give the ability to filter themes shown with --show-themes by
dark or light, using the --dark and --light flags
|
|
|
|
|
|
|
|
|
|
When git is invoked as `git -c aaa.bbb=ccc -c ddd.eee=fff` then git
sets the env var GIT_CONFIG_PARAMETERS containing the changed config
entries, so that child processes can honor them.
libgit2 doesn't yet honor the env var: see
https://github.com/libgit2/libgit2/issues/3854.
Fixes #493
Fixes #307
Ref https://github.com/dandavison/magit-delta/issues/13
|
|
|
|
Fixes #481
|
|
all (#296)"
This reverts commit ecb2da1e271aa0daa6dd2ed4c6658d59347020e6.
|
|
* Remove force assing raw to commit style when color_only
* Add test for commit style color when color_only
|
|
#405 (#437)
* Remove force passing raw to hunk header style when color_only
* Handle hunk header color when color_only
* Add test for hunk header style color when color_only
* Delete fixme because it actually is required
* Add comment for condition that keeps structure when color_only and raw mode
|
|
* Add config property of color_only
* Delete force assign raw to file_style when color_only
* Print filemeta in color with rawline when color_only mode
* Cargo fmt
* Add test if file_style with color_only has style
* Add comment about color_only
|
|
Fixes #427
|
|
Fixes #392
|
|
* Add test for diffInteractiveFilter for all options
* Disable **-decoration-style when color-only
* Edit color-only one-to-one test cases
Co-authored-by: ryuta69 <eyma22s.yu@gmail.com>
Co-authored-by: Dan Davison <dandavison7@gmail.com>
|
|
|
|
* remove some clippy warnings
* revert comparison_chain clippy lint
Allow it locally
|
|
|
|
* Add gruvbox light support
* Update binary assets from bat v0.16.0
Co-authored-by: Dan Davison <dandavison7@gmail.com>
|
|
|
|
* 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
|
|
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.
|
|
Fixes #292
|
|
|
|
|
|
Fixes #154, #288
|
|
|
|
Fixes #274
|
|
Fixes #72
|
|
|
|
- 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
|
|
|
|
|
|
* 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
|
|
Closes #257
|
|
|