John Higgins
375b392478
Fixed reversed logic error for --chop-long-lines
2 years ago
Matthew Bauer
46f8e29de4
Update CONTRIBUTING.md
2 years ago
Matthew Bauer
3e238b82f6
Update CONTRIBUTING.md
...
Verbiage change, and slight markdown adjustments.
2 years ago
dependabot[bot]
5fce1389e5
Bump serde from 1.0.144 to 1.0.145
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
0cc4e98560
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Gábor Lipták
1e0b0f7c5c
Add github-actions to Dependabot
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2 years ago
Gábor Lipták
9051fc5465
Add github-actions to Dependabot
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2 years ago
Masanori Kakura
16d181a755
ja: Update description about Debian/Ubuntu packages
2 years ago
dependabot[bot]
42a3ef28e8
Bump once_cell from 1.13.1 to 1.15.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.13.1 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.15.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
b9d5f3878d
Bump semver from 1.0.13 to 1.0.14
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.13...1.0.14 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
10ab72f8ae
Bump unicode-width from 0.1.9 to 0.1.10
...
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width ) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases )
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.9...v0.1.10 )
---
updated-dependencies:
- dependency-name: unicode-width
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
9d39054e18
Bump thiserror from 1.0.33 to 1.0.37
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.33 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.33...1.0.37 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
c662801ad8
Bump console from 0.15.1 to 0.15.2
...
Bumps [console](https://github.com/console-rs/console ) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/console-rs/console/releases )
- [Changelog](https://github.com/console-rs/console/blob/master/CHANGELOG.md )
- [Commits](https://github.com/console-rs/console/compare/0.15.1...0.15.2 )
---
updated-dependencies:
- dependency-name: console
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Marc Poulhiès
06b403aa92
Add syntax support for Ada
...
Add submodule with sublime syntax.
Add corresponding tests for both Ada (in adb/ads) and for the companion tool
gpr.
fixes #1300
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2 years ago
Ville Skyttä
2dbc88d3af
Improve bash completion escaping
...
`compopt -o filenames` is a cheap way to accomplish mostly wanted
behavior. However it is semantically incorrect when we are not actually
completing filenames, and has side effects -- for example adds a
trailing slash to candidates matching present dirs.
bash >= 4.1 can `printf -v` to an array index, use it instead where
available.
2 years ago
Ville Skyttä
66edfe5dff
Exclude --unbuffered from bash completions
...
It's a no-op, so there's little reason to suggest it.
2 years ago
Ville Skyttä
c816188f97
Add --style argument bash completion
2 years ago
Ville Skyttä
46bf3c1e9a
Do not offer bash filename completions with --list-languages/-themes
2 years ago
Ville Skyttä
066701d671
Add --acknowledgements and --ignored-suffix to bash completion
2 years ago
Ville Skyttä
e96cdc3b95
Split bash completion option lists over multiple lines, sync sort with --help
...
For maintainability/diffability.
2 years ago
Martin Nordholts
8bd5a88f07
Prepare a new "unreleased" section at the top of CHANGELOG.md
2 years ago
Martin Nordholts
e5d9579614
Bump version to v0.22.1
2 years ago
Martin Nordholts
352309b056
Revert "Remove code that tries to handle ANSI escape inputs"
...
This reverts commit 8174e02279
. Turns out
it is needed for a common use case, see
https://github.com/sharkdp/bat/issues/2307 .
It is not a clean revert, because I adjust CHANGELOG.md and also add a
comment to the test. I also had to resolve a small `use` conflict.
2 years ago
John Higgins
2af54dbacd
Fixed else statement with `cargo fmt`
2 years ago
John Higgins
a272d3df16
Added -S flag for truncating long lines
2 years ago
David Peter
6680f65e4b
Add new 'unreleased' section, post v0.22
2 years ago
David Peter
1f9519d8b9
Update binary assets
2 years ago
David Peter
3c33b28507
Bump version to v0.22
2 years ago
dag-h
08386daa3a
Strip BOM from output in interactive mode ( #1938 )
...
* Strip BOM from output in interactive mode
* Strip BOM when not loop_through, add regression tests
* Update CHANGELOG.md
* Only strip BOM from beginning of first line
* Fix integration test on macOS that relied on color scheme
* Fix integration test on Windows that relied on detected terminal width
* Fix syntax test that was failing due to a previously wrong (now fixed) highlighting
Co-authored-by: David Peter <mail@david-peter.de>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2 years ago
David Peter
0e03dce130
Merge pull request #1920 from rhysd/issue-1919
...
Add `bat::PrettyPrinter::clear_highlights`
2 years ago
David Peter
6a0ab0095a
Add CHANGELOG entry
2 years ago
oidro
b213949aeb
Correct doc comment for `list_syntaxes_and_themes` example
2 years ago
rhysd
3d7817d662
Clear `highlighted_lines` when calling `PrettyPrinter::print`
2 years ago
rhysd
abd69f2deb
Add `bat::PrettyPrinter::clear_highlights` ( fixes #1919 )
2 years ago
David Peter
113276a62b
Merge pull request #2237 from kidonng/yaml
...
Map `fish_history` to YAML
2 years ago
Kid
1e1fa7cde5
CHANGELOG
2 years ago
Kid
d6d8b61131
Fix highlight test
2 years ago
Kid
839e62cff8
Map `fish_history` to YAML
2 years ago
David Peter
ca9843fa83
Merge pull request #2236 from kidonng/patch-1
...
Add `.mts` and `.cts` to TypeScript file extensions
2 years ago
David Peter
546dcf6a55
Merge pull request #1888 from patrickpichler/feature/668/add-systemwide-config
...
Add systemwide config file support
2 years ago
Kid
d7b6519422
Add `.mts` and `.cts` to TypeScript file extensions
...
See also:
https://github.com/github/linguist/pull/5905
2 years ago
Martin Nordholts
799bb1639c
Try to fix all warnings
2 years ago
Martin Nordholts
bc2dc0796b
Move up the entry to the unreleased section in CHANGELOG.md
2 years ago
Martin Nordholts
2dd2994b2f
Merge remote-tracking branch 'origin/master' into feature/668/add-systemwide-config
2 years ago
David Peter
48541b8507
Fix clippy suggestions
...
Leads to a performance improvement for `bat -A`:
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `./bat-master --no-config -A ./bat-master` | 259.8 ± 1.1 | 258.4 | 261.7 | 1.15 ± 0.01 |
| `./bat-2301 --no-config -A ./bat-master` | 225.6 ± 1.8 | 224.0 | 229.5 | 1.00 |
2 years ago
Jon Eskin
eab1c9eb46
update alternatives.md
2 years ago
Keith Hall
c6775cc41e
Syntax: [Log] scope whole line based on log level
...
to allow color schemes to color entire lines differently based on log level
2 years ago
David Peter
45d6b1af3b
Bump MSRV to 1.60
...
see https://github.com/rust-lang/git2-rs/issues/838
2 years ago
dependabot[bot]
b295850cb3
Bump git2 from 0.14.2 to 0.15.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.14.2...git2-curl-0.15.0 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Ed Page
08c91a116c
refactor: Parse, don't validate
2 years ago