summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-04-21Add inline-hint-style option, do not use syntect styleswrap-inline-hint-style-1Dan Davison
DNW Why are the inline hint symbols having the background color set to white when the background color is None in the style struct?
2021-04-19wrap option namesThomas Otto
2021-04-19wrap-max-lines to 1, so 0 can mean no limitThomas Otto
2021-04-19zero block highlighting fixed, clippy, misc.Thomas Otto
2021-04-19Add CLI for side-by-side line wrapping, and coalesce the two side-by-side ↵Dan Davison
features
2021-04-19Add side-by-side line wrapping modeThomas Otto
If the current line does not fit into the panel, then it is not truncated but split into multiple lines. A wrapping symbol is placed at the end of the line. If the new line is short enought, it is right-aligned. Wrapping is limited to a certain number of lines, if this is exceeded the line is truncated by a now highlighted truncation symbol. Commandline argument `-S` / `--side-by-side-wrapped`. Also adapted `--keep-plus-minus-markers` logic, required to calculate the exact remaining panel width.
2021-04-19Fix right panel background extending beyond the truncation symbolThomas Otto
In side-by-side mode, if `background_color_extends_to_terminal_width` is set, the left panel color is extended via spaces, but the right one via an ANSI sequence which instructs the terminal emulator to fill the background color rightwards. However due to the padding after the right panel the color will extend beyond a possible truncation symbol: "TEXT#AB→#", not "TEXT#AB→ " with "#" being the green background. If any line is truncated, the entire block is now padded with spaces (if only selected lines used spaces the line would show a jagged right edge) Add enums `BgFillWidth` and `BgFillMethod` to better distinguish if the background should be filled, and if so how (ANSI or Spaces).
2021-04-19Add line number width calculationThomas Otto
2021-04-19General left/right panel data structureThomas Otto
2021-04-15CI: check docs (#559)Marco Ieni
* 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>
2021-03-30Remove unnecessary trailing semicolon after enum (#555)Max
2021-03-29Add navigate to example config in READMEDan Davison
2021-03-29Bump version in private Homebrew formulaDan Davison
2021-03-29Update READMEDan Davison
2021-03-29Bump version0.7.1Dan Davison
2021-03-29Bump version 0.6.0 -> 0.7.00.6.1Dan Davison
2021-03-29Fix typo in Makefile preventing a test from running locallyDan Davison
2021-03-29Clippy (#554)Dan Davison
* Clippy
2021-03-29Edit theme instructionsDan Davison
2021-03-29Add hoopoe themeDan Davison
2021-03-29Sort theme keysDan Davison
2021-03-29Sort themesDan Davison
2021-03-29Merge pull request #550 from clnoll/show-delta-themesDan Davison
2021-03-29Add link to README themes documentation in --help textDan Davison
2021-03-28Update default diff used by --show-themes (to ↵Catherine Noll
https://github.com/vuejs/vue/commit/7ec4627902020cccd7b3f4fbc63e1b0d6b9798cd)
2021-03-28Display themes alphabetically when using --show-themesCatherine Noll
2021-03-28Merge pull request #551 from clnoll/theme-coracias-cordatusDan Davison
Add "coracias-cordatus" theme
2021-03-28Move dividing line above the commit hash lineDan Davison
2021-03-28Add "coracias-cordatus" themeCatherine Noll
2021-03-28Edit instructions in themes.gitconfigDan Davison
2021-03-28Edit --help textDan Davison
2021-03-28Use string literal instead of escaping double quotesCatherine Noll
2021-03-27Remove unnecessary check in get_themes and clean up --show-themes cli docstringCatherine Noll
2021-03-27Fix typo in docstringCatherine Noll
2021-03-27Update behavior of --show-themes to rely on the computed is_light_modeCatherine Noll
value to determine whether to show light or dark themes by default
2021-03-27Define theme by presence of "dark" or "light" entries in git config,Catherine Noll
and give the ability to filter themes shown with --show-themes by dark or light, using the --dark and --light flags
2021-03-27Reorganize and add test for get_themesCatherine Noll
2021-03-27Get themes from gitconfig instead of hardcodingCatherine Noll
2021-03-23Add README note warning of problems on Debian/Ubuntu systemsDan Davison
Ref #504
2021-03-22Make target: run rustfmt on all rust codeDan Davison
2021-03-21Send navigation command to less on --show-themesCatherine Noll
2021-03-21Navigate from theme to theme with n/N when --show-themesCatherine Noll
2021-03-21Add functionality to cycle through themes using a diff from stdinCatherine Noll
2021-03-20Use a sample diff for displaying themesCatherine Noll
2021-03-20Apply themes to a hardcoded diffCatherine Noll
2021-03-20Cycle through a constant list of themesCatherine Noll
2021-03-20Skeleton for show-themes command line optionCatherine Noll
2021-03-15Fix bash completion to include local files/dirs (#540)foamkeen
Co-authored-by: Maksim Fomkin <mfomkin@microsoft.com>
2021-03-15Bump console from 0.14.0 to 0.14.1 (#541)dependabot-preview[bot]
Bumps [console](https://github.com/mitsuhiko/console) from 0.14.0 to 0.14.1. - [Release notes](https://github.com/mitsuhiko/console/releases) - [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitsuhiko/console/compare/0.14.0...0.14.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-15Bump regex from 1.4.3 to 1.4.5 (#542)dependabot-preview[bot]
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.3 to 1.4.5. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.4.3...1.4.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>