David Peter
0cf069ba1b
Merge pull request #2365 from Sylk/patch-1
...
Update CONTRIBUTING.md
2 years ago
David Peter
85921864aa
Merge pull request #2356 from scop/feat/env-extension
...
Add more dotenv file types
2 years ago
David Peter
b29f66c40d
Merge branch 'master' into feat/env-extension
2 years ago
David Peter
c3347c6be5
Merge pull request #2352 from Freed-Wu/extension
...
Add new file_extensions for INI
2 years ago
David Peter
3668464f3d
Update CHANGELOG
2 years ago
David Peter
8e15c9c501
Merge pull request #2316 from dkm/pr/ada_syntax
...
Add syntax support for Ada
2 years ago
David Peter
3c9c960612
Merge pull request #2309 from johnmatthiggins/master
...
Added -S flag for truncating long lines
2 years ago
Ville Skyttä
6378a95308
Add more dotenv file types
...
Upstream PR: https://github.com/zaynali53/DotENV/pull/17
2 years ago
Wu Zhenyu
46dc044c03
Add new file_extensions for INI
...
- https://coverage.readthedocs.io/en/6.3.2/faq.html#q-can-i-find-out-which-tests-ran-which-lines
- https://pylint.pycqa.org/en/latest/user_guide/usage/run.html#command-line-options
- https://jorisroovers.com/gitlint/configuration/
2 years ago
John Higgins
ff71303349
Update src/bin/bat/clap_app.rs for PR 2309
...
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2 years ago
John Higgins
bf114f5844
Added helper function for -S flag tests
2 years ago
wzy
f215d07366
Improve Manpage.sublime-syntax, Fix #2353 ( #2364 )
...
* Improve Manpage.sublime-syntax, Fix #2353
* Add highlight tests for fzf-0.33.0
2 years ago
wenzdey
9679ae3662
Updated Homebrew link
...
macos and linux homebrew page now merged
2 years ago
Ville Skyttä
21bdcbb71f
Fix up punctuation and sorting in manual modifications doc
2 years ago
John Higgins
20f272168a
Fixed typo in CHANGELOG.md for PR #2309
2 years ago
John Higgins
236a2c5794
Fixed inverted logic on -S and --chop-long-lines
2 years ago
John Higgins
03216c9c18
Merge branch 'sharkdp:master' into master
2 years ago
John Higgins
8f31ffa9df
Added integration tests
2 years ago
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
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