summaryrefslogtreecommitdiffstats
path: root/src/config.rs
AgeCommit message (Collapse)Author
2021-01-08Create git_config moduleDan Davison
2020-12-31Add styles for file path and line number in hunk headerDan Davison
Fixes #481
2020-12-27Use special style attribute to control line-number in hunk-headerDan Davison
2020-12-27Revert "Interpret `line-numbers = false` in gitconfig as no line numbers at ↵Dan Davison
all (#296)" This reverts commit ecb2da1e271aa0daa6dd2ed4c6658d59347020e6.
2020-12-19Implement hunk-header-style 'file' attributeDan Davison
Fixes #309
2020-12-16Exit with diff's exit code (#449)Dan Davison
Fixes #448
2020-12-08Make file style to be colored with same structure while color_only #405 (#436)ulwlu
* 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
2020-12-05Expose line-buffer-size as a new option (#429)Dan Davison
Fixes #427
2020-11-22Handle copied filesDan Davison
Fixes #392
2020-11-14Rename directory: src/bat -> src/bat_utilsDan Davison
2020-11-07remove unnecessary matches (#382)Marco Ieni
2020-11-05fix some clippy warnings (#380)Marco Ieni
2020-08-20Interpret `line-numbers = false` in gitconfig as no line numbers at all (#296)Dan Davison
Fixes #292
2020-08-14Truncate long lines (#290)Dan Davison
Fixes #154, #288
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-07-30Refactor: sort struct entriesDan Davison
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-11Add side-by-side diff view (#243)Dan Davison
Closes #86
2020-06-30Add more computed values to options structDan Davison
2020-06-30Rearrange: options::theme moduleDan Davison
2020-06-30Delete stuffDan Davison
2020-06-30use syntax themeDan Davison
2020-06-30use syntax setDan Davison
2020-06-30use dummy themeDan Davison
2020-06-30Use is_light_mode from preprocessDan Davison
2020-06-30Trivial changesDan Davison
2020-06-30Eliminate redundant syntax_theme name field on Config structDan Davison
2020-06-28Rearrange: move navigate function to correct locationDan Davison
2020-06-27Rename: unreachable -> delta_unreachableDan Davison
2020-06-27Rename --list-*, --show-* commandsDan Davison
--list-syntax-themes => --show-syntax-themes --list-syntax-theme-names => --list-syntax-themes --show-styles => --show-config Fixes #207 Fixes #226
2020-06-27Refactor: pass foreground & background defaults as a single StyleDan Davison
2020-06-26New command --show-stylesDan Davison
Drop old command --show-background-colors
2020-06-25Rename: format-style => styleDan Davison
2020-06-25Rename: --number => --line-numbersDan Davison
2020-06-25Make number-zero-style non-OptionDan Davison
2020-06-25Implement numbers as a featureDan Davison
2020-06-25Command line option to apply line number style to unchanged linesCatherine Noll
2020-06-22Refactor: separate Opt construction from Config constructionDan Davison
2020-06-17Highlight whitespace errorsDan Davison
2020-06-17Highlight added/removed empty lines if they would be invisibleDan Davison
Thanks @phillipwood
2020-06-17Eliminate leading space unless --keep-plus-minus-markersDan Davison
2020-06-14Refactor: native GitConfig structDan Davison
2020-06-14Reorganize modulesDan Davison
2020-06-11New option --word-diff-regexDan Davison
Fixes #184
2020-06-11Fix env var dependency in theme selection testDan Davison
2020-06-11Fix and unignore testDan Davison
2020-06-10Refactor: Config::from_argsDan Davison