Nicolas AMBRY
5a240f36b9
Case insensitive `--map-syntax` ( #2650 )
...
Co-authored-by: Nicolas AMBRY <nicolas.ambry@atos.net>
10 months ago
J-Kappes
e2bf85e749
Make -pp override --paging and vice versa when passed as a later argument. ( #2660 )
10 months ago
Anomalocaridid
fe73010a5e
ignore failing test
10 months ago
Anomalocaridid
150c04acb6
update CHANGELOG.md
10 months ago
Anomalocaridid
433176ab54
require LESSOPEN to have exactly one %s
10 months ago
Anomalocaridid
b56021ffa9
make LESSOPEN support opt-in
10 months ago
Anomalocaridid
ac2953c070
pass --no-lessopen to less by default
10 months ago
Boy van Duuren
d6e11b59e7
#2592 : Fixes unit tests dependent on echo on windows ( #2602 )
...
Co-authored-by: Boy van Duuren <boy.van.duuren@rabobank.nl>
10 months ago
Martin Nordholts
f49278cfaa
Do not enable `lessopen` feature by default
10 months ago
pseudometa
9b73eda957
docs: add global `--help` alias limitations
10 months ago
pseudometa
ed99a3a104
docs: Add better snippet for colorizing help pages
10 months ago
Anomalocaridid
e32ad0b048
Add `$LESSOPEN` and `$LESSCLOSE` support ( #2444 )
10 months ago
David Peter
3abc0c0fc4
Merge pull request #2548 from utkarshgupta137/master
...
Replace `dirs` crate with `etcetera` crate
10 months ago
David Peter
b06f13f0c5
Merge pull request #2618 from Piturnah/feat/write-to-buffer
...
feat: Optionally write to a buffer instead of stdout
10 months ago
Utkarsh Gupta
a721cc31f3
Replace `dirs` crate with `etcetera` crate
10 months ago
David Peter
1e52785d35
Merge pull request #2626 from rhysd/encoding_rs
...
Replace unmaintained `encoding` dependency with `encoding_rs`
10 months ago
Orion Yeung
9ba3b6ed13
No duplicate keys test, fixes #2643 ( #2647 )
...
* moved unit tests to conditional compile
made module `tests` and conditionally compiled
* added test to check for duplicate keys in builtin
checks all pairs in GlobMatcher::mappings via `GlobMatcher::glob`s `Eq`
panics at first match
```rs
SyntaxMapping {
mappings: Vec<(
GlobMatcher {
glob: Glob, ...,
}, ...,
}, ...,
}
```
* output more info with test failure
* dont duplicatively add git config path
* use guard in match for adding builtin git config syntax mapping
---------
Co-authored-by: Orion Yeung <11580988+orionyeung001@users.noreply.github.com>
10 months ago
Peter Hebden
72e1a40bab
Remove leftover unwrap
10 months ago
Peter Hebden
33a89410d4
Add example to show new feature
10 months ago
Peter Hebden
b2c28cdddb
Clippy lints
10 months ago
Peter Hebden
906e774372
Handle todos
10 months ago
Peter Hebden
d929becefc
Fix signatures
10 months ago
Peter Hebden
103a2f0d9b
Add `OutputHandle` enum to use instead of `&mut dyn io::Write`
10 months ago
rhysd
d33b2e158e
Replace unmaintained `encoding` with `encoding_rs`
10 months ago
David Peter
d295b3a394
Merge pull request #2613 from sharkdp/dependabot/cargo/expect-test-1.4.1
...
Bump expect-test from 1.4.0 to 1.4.1
10 months ago
David Peter
81a217b1f3
Merge pull request #2519 from sitiom/winget-releaser
...
Add Winget Releaser workflow
10 months ago
dependabot[bot]
bb17f74757
Bump assets/syntaxes/02_Extra/Docker from `9e9a518` to `0f6b7bc`
...
Bumps [assets/syntaxes/02_Extra/Docker](https://github.com/asbjornenge/Docker.tmbundle ) from `9e9a518` to `0f6b7bc`.
- [Release notes](https://github.com/asbjornenge/Docker.tmbundle/releases )
- [Commits](9e9a518aed...0f6b7bc87a
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
75928d20f8
Bump nu-ansi-term from 0.47.0 to 0.49.0
...
Bumps [nu-ansi-term](https://github.com/nushell/nu-ansi-term ) from 0.47.0 to 0.49.0.
- [Release notes](https://github.com/nushell/nu-ansi-term/releases )
- [Changelog](https://github.com/nushell/nu-ansi-term/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nushell/nu-ansi-term/compare/v0.47.0...v0.49.0 )
---
updated-dependencies:
- dependency-name: nu-ansi-term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
2cc45eea1a
Bump clap from 4.3.0 to 4.4.2
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.3.0 to 4.4.2.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.3.0...v4.4.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
7dbc6e3da4
Bump tempfile from 3.5.0 to 3.8.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.5.0 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
dependabot[bot]
f34b852aa8
Bump git2 from 0.16.1 to 0.18.0
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.16.1 to 0.18.0.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...git2-0.18.0 )
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
einfachIrgendwer0815
4b04f901fe
Add test for `BAT_PAGING`
10 months ago
einfachIrgendwer0815
26111950b3
Add environment variable `BAT_PAGING`
10 months ago
Orion Yeung
f21d3502e1
Add `*.ron` syntax mapping
...
Add a mapping to use `Rust` for rusty object notation, identified by `.ron` extension. See [#2427 ](https://github.com/sharkdp/bat/issues/2427 ).
10 months ago
Maros Kukan
5687af8bc7
feat: describe WinGet method for Windows install
10 months ago
nazar
0f5f51f9ba
Fixed RU readme typos
10 months ago
Jan T. Sott
32c0e1fb45
update highlighted test file
10 months ago
Jan T. Sott
34440f1b0c
update highlighted test file
10 months ago
Jan T. Sott
f1d6cc7a64
add test files for NSIS syntax
10 months ago
Jan T. Sott
628ba5d31f
add NSIS support
10 months ago
dependabot[bot]
e24150ca3f
Bump assets/syntaxes/02_Extra/Julia from `4fde0fd` to `98233f9`
...
Bumps [assets/syntaxes/02_Extra/Julia](https://github.com/JuliaEditorSupport/Julia-sublime ) from `4fde0fd` to `98233f9`.
- [Release notes](https://github.com/JuliaEditorSupport/Julia-sublime/releases )
- [Commits](4fde0fdedd...98233f96d4
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Julia
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
10 months ago
WinterCore
d580445aef
fix: Add syntax mapping `jsonl` => `json`
10 months ago
Martin Nordholts
48dc2b0d90
CICD: Add `all-jobs` job
...
This opens up future possibilities:
* GitHub's auto-merge feature that merges a PR once CI passes
* Auto-merge of dependabot PRs that pass CI
But before we do any of that we need to have this new job active for a
while to see that it works.
10 months ago
mataha
82664e3c82
Bump MSRV to 1.70.0
...
The intention is to take advantage of `std::io::IsTerminal` that landed
in 1.70.0, both in `bat` and its dependencies (`clap`, `grep-cli`).
This will fix #2570 as well - `grep-cli` 0.1.9 has a patch for that.
Signed-off-by: mataha <mataha@users.noreply.github.com>
10 months ago
Ville Skyttä
1893405cbf
Add .dpkg-new and .dpkg-tmp to ignored suffixes
...
Refs https://www.debian.org/doc/manuals/debian-handbook/sect.package-meta-information.en.html#sect.conffiles
10 months ago
Keith Hall
00b7e3b864
Merge pull request #2639 from johnmatthiggins/doc_fix
...
fix for issue #2095
11 months ago
John Higgins
7826e506f8
Merge branch 'master' into doc_fix
11 months ago
David Peter
6dd8b28b0d
Merge pull request #2638 from johnmatthiggins/master
...
fix for issue #2633
11 months ago
John Higgins
b720af8a06
fix for issue #2095
11 months ago
John Higgins
b1fbcc8a6e
fix for issue #2633
11 months ago