Commit graph

269 commits

Author SHA1 Message Date
sharkdp
989109145a Add '-d' for '--diff' 2020-04-24 16:12:38 +02:00
sharkdp
82e7786e74 Implementation of 'bat --diff'
This adds a new `--diff` option that can be used to only show lines
close to Git changes (added/removed/modified lines). The amount of
additional context can be controlled with `--diff-context=N`.

closes #23
2020-04-24 09:57:57 +02:00
sharkdp
c8abe3f235 Update CHANGELOG 2020-04-22 23:56:20 +02:00
sharkdp
7a87315b94 Fix #937 2020-04-22 23:55:28 +02:00
sharkdp
371c929ede Update CHANGELOG 2020-04-21 18:21:12 +02:00
sharkdp
72618db179 Add metadata information to cached assets
When saving/reading user-provided syntaxes or themes, `bat` will now maintain a
`metadata.yaml` file which includes information about the `bat` version which was
used to create the cached files. When loading cached files, we now print an error
if they have been created with an incompatible version

closes #882
2020-04-21 18:14:31 +02:00
sharkdp
95a56a2795 Typo in CHANGELOG 2020-04-21 17:49:36 +02:00
sharkdp
ce583eb9bf Revert "Pass '--mouse' to less versions >= 551"
This reverts commit cb21b74ecd.
2020-04-21 17:29:01 +02:00
sharkdp
47abb192bc Patch Rust syntax file
closes #924
2020-04-21 13:45:26 +02:00
sharkdp
a927815292 Update CHANGELOG 2020-04-21 11:50:26 +02:00
sharkdp
c386cb35fb Pass '--mouse' to less versions >= 551
When using `less` version 551 or newer, `bat` will now pass the `--mouse` argument, allowing
for (better) mouse scrolling support in some terminals.

closes #904
2020-04-21 10:00:32 +02:00
sharkdp
97ea3dd4dc Update CHANGELOG 2020-04-21 08:58:38 +02:00
sharkdp
0ecc94956b Add performance patch for Makefile syntax
Thanks to @keith-hall!

closes #750
2020-04-13 10:38:22 +02:00
David Peter
61e47e0c13
Add Stylus syntax (#917)
closes #915
2020-04-12 19:42:36 +02:00
sharkdp
8b3d54ce29 Update CHANGELOG 2020-04-11 23:55:27 +02:00
sharkdp
3355aeba22 Update CHANGELOG 2020-03-31 09:33:58 +02:00
sharkdp
9a050cd87f Update CHANGELOG 2020-03-27 07:33:56 +01:00
sharkdp
522ab7a83c CHANGELOG: Add entries for upcoming release 2020-03-26 09:55:21 +01:00
David Peter
0c5b4fcd4a Add CHANGELOG to the repository 2020-03-26 09:55:21 +01:00