David Peter
ac734db421
Merge pull request #2432 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/cmd-help-7797e20
...
Bump assets/syntaxes/02_Extra/cmd-help from `9b25682` to `7797e20`
2023-01-17 15:30:14 +01:00
David Peter
39eebde3e5
Merge pull request #2438 from seryl/add-json-key-highlighting-TwoDark
...
add json key highlighting patch for twodark
2023-01-17 15:29:45 +01:00
David Peter
5cd77662b5
Merge pull request #2430 from Enselic/blessable-help
...
Require changes to `-h` and `--help` to be blessed
2023-01-17 15:29:13 +01:00
David Peter
09ab1905d0
Merge pull request #2447 from rhysd/reuse-styles
...
Remove unnecessary heap allocations in `PrettyPrinter::print` for style components
2023-01-17 15:26:18 +01:00
rhysd
4cc2a489d0
Remove unnecessary heap allocations in PrettyPrinter::print
for style components
2023-01-15 21:16:36 +09:00
rhysd
5e3abcad07
Fix code fence in doc comment
2023-01-13 08:16:38 +01:00
dependabot[bot]
362af8a0a6
Bump semver from 1.0.14 to 1.0.16
...
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.14 to 1.0.16.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.14...1.0.16 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 10:00:36 +01:00
dependabot[bot]
d5084cd391
Bump predicates from 2.1.3 to 2.1.5
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 2.1.3 to 2.1.5.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.3...v2.1.5 )
---
updated-dependencies:
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:59:56 +01:00
dependabot[bot]
6d40fd6482
Bump serde from 1.0.148 to 1.0.152
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.148 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.152 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:59:46 +01:00
dependabot[bot]
79198e8048
Bump once_cell from 1.16.0 to 1.17.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.16.0 to 1.17.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.16.0...v1.17.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>
2023-01-05 09:58:54 +01:00
dependabot[bot]
c6a9b01c4f
Bump thiserror from 1.0.37 to 1.0.38
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 09:58:29 +01:00
Josh Toft
e79e1a23eb
add json key highlighting patch for twodark
2023-01-01 10:49:20 -08:00
dependabot[bot]
7fc6dae036
Bump assets/syntaxes/02_Extra/cmd-help from 9b25682
to 7797e20
...
Bumps [assets/syntaxes/02_Extra/cmd-help](https://github.com/victor-gp/cmd-help-sublime-syntax ) from `9b25682` to `7797e20`.
- [Release notes](https://github.com/victor-gp/cmd-help-sublime-syntax/releases )
- [Commits](9b25682947...7797e206ef
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/cmd-help
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-01 03:01:21 +00:00
Martin Nordholts
4e34b362f8
Require changes to -h
and --help
to be blessed
...
From now on, any changes to the help texts will be visible in PR diffs,
which will make it very easy to review, and very hard to accidentally
miss changes to help texts.
If a contributor makes a change to help texts, the `cargo test` failure
text they will see contains instructions on how to update the blessed
help texts:
error: expect test failed
--> ../doc/long-help.txt
You can update all `expect!` tests by running:
env UPDATE_EXPECT=1 cargo test
In short, to update blessed help texts, one simply does
env UPDATE_EXPECT=1 cargo test
Do not run the tests if the `git` feature is missing, since then
`--diff` will be missing from `--help`. And do not run the tests on
Windows, because then the help text will contain the term `.exe`.
Move man page step to after cargo doc step so that the man page exists
when we look for it.
2022-12-30 09:59:52 +01:00
cyqsimon
b6b9d3a629
Disable completion of cache
subcommand ( #2399 )
...
* Disable completion of `cache` subcommand
* Fully removed completion code for `cache`
* Add to changelog
2022-12-18 11:46:43 +01:00
David Peter
e19bebc1f6
Merge pull request #2419 from victor-gp/bump-cmd-help-syntax-9b25682
...
Bump cmd-help syntax to 9b25682
2022-12-07 21:28:37 +01:00
Víctor González Prieto
3ffa7edbd5
Bump cmd-help syntax to latest
...
This update includes an overhaul of scope names to better support the
set of themes included with bat.
You can find a visual diff for every theme in this PR:
https://github.com/victor-gp/cmd-help-sublime-syntax/pull/17
This commit updates the cmd-help syntax test because the scopes (-> colors)
have changed.
2022-12-07 04:02:05 +01:00
dependabot[bot]
41ca247e32
Bump assets/syntaxes/02_Extra/TodoTxt from f5f0a6c
to 071a004
( #2411 )
...
Bumps [assets/syntaxes/02_Extra/TodoTxt](https://github.com/dertuxmalwieder/SublimeTodoTxt ) from `f5f0a6c` to `071a004`.
- [Release notes](https://github.com/dertuxmalwieder/SublimeTodoTxt/releases )
- [Commits](f5f0a6c47f...071a004217
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/TodoTxt
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:14:01 +01:00
Martin Nordholts
906de11975
Update CHANGELOG.md
2022-12-03 17:13:13 +01:00
dependabot[bot]
d5b397f66a
Bump assets/syntaxes/02_Extra/TOML from ed38438
to fd0bf3e
( #2410 )
...
* Bump assets/syntaxes/02_Extra/TOML from `ed38438` to `fd0bf3e`
Bumps [assets/syntaxes/02_Extra/TOML](https://github.com/jasonwilliams/sublime_toml_highlighting ) from `ed38438` to `fd0bf3e`.
- [Release notes](https://github.com/jasonwilliams/sublime_toml_highlighting/releases )
- [Commits](ed38438900...fd0bf3e5d6
)
---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/TOML
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update CHANGELOG.md
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Nordholts <enselic@gmail.com>
2022-12-03 17:09:39 +01:00
dependabot[bot]
52764624c9
Bump predicates from 2.1.1 to 2.1.3
...
Bumps [predicates](https://github.com/assert-rs/predicates-rs ) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases )
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v2.1.1...v2.1.3 )
---
updated-dependencies:
- dependency-name: predicates
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 16:04:00 +01:00
dependabot[bot]
5c510a20c1
Bump nix from 0.25.0 to 0.26.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.25.0 to 0.26.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 16:03:41 +01:00
dependabot[bot]
c9ac95e341
Bump serde from 1.0.147 to 1.0.148
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 16:03:21 +01:00
dependabot[bot]
8e960fc59c
Bump regex from 1.6.0 to 1.7.0
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.6.0 to 1.7.0.
- [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.6.0...1.7.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-03 16:03:07 +01:00
David Peter
416845dcd0
Merge pull request #2393 from miles170/issue-2392-cache-clear-target-dir
...
Fix `bat cache --clear` not clearing the `--target` dir if specified
2022-11-19 21:18:26 +01:00
Miles Liu
e39178b101
Fix bat cache --clear
not clearing the --target
dir if specified
2022-11-19 18:00:37 +08:00
David Peter
7c847d84b0
Update CHANGELOG
2022-11-04 22:08:51 +01:00
David Peter
accc1b6d10
Merge pull request #2366 from Freed-Wu/vimhelp
...
Add VimHelp.sublime-syntax and its test
2022-11-04 22:07:57 +01:00
David Peter
78a67ac77e
Merge pull request #2381 from aaronkollasch/env-override-config-not-flags
...
Allow some env vars to override config variables, but not command line arguments
2022-11-02 22:58:01 +01:00
Aaron Kollasch
017e830bf2
Move CHANGELOG.md entry to Features
2022-11-02 17:14:48 -04:00
Aaron Kollasch
1224403aa1
Update comments in tests/integration_tests.rs
2022-11-02 17:09:15 -04:00
Aaron Kollasch
d084cdc72b
Update CHANGELOG.md
...
Co-authored-by: David Peter <sharkdp@users.noreply.github.com>
2022-11-02 16:48:51 -04:00
Aaron Kollasch
1a07baf5f2
Update tests/integration_tests.rs
...
Co-authored-by: David Peter <sharkdp@users.noreply.github.com>
2022-11-02 16:48:51 -04:00
Aaron Kollasch
bad2292950
Add tests for --theme > BAT_THEME > config
2022-11-02 16:48:51 -04:00
Aaron Kollasch
e773b48135
Fix cache subcommand and add tests
...
Treat the cache subcommand differently from --no-config:
For --no-config, insert args from selected environment variables
For cache, don't insert args
2022-11-02 16:48:51 -04:00
Aaron Kollasch
4bcea01e9d
Deduplicate lines in matches function
2022-11-02 16:48:51 -04:00
Aaron Kollasch
76aad7c74f
Improve correctness and add more tests
2022-11-02 16:48:50 -04:00
Aaron Kollasch
36ccc6a31e
Allow env vars to override config but not args
2022-11-02 16:48:50 -04:00
David Peter
5652038f01
Update CHANGELOG
2022-11-02 21:03:16 +01:00
David Peter
4724d50e1d
Merge pull request #2361 from Freed-Wu/main
...
Add Requirementstxt.sublime-syntax and its test.
2022-11-02 21:00:33 +01:00
David Peter
b6a5004a9c
Merge pull request #2390 from sharkdp/dependabot/cargo/nix-0.25.0
...
Bump nix from 0.24.2 to 0.25.0
2022-11-02 20:57:38 +01:00
David Peter
bb2e3b52b8
Merge pull request #2389 from sharkdp/dependabot/cargo/once_cell-1.16.0
...
Bump once_cell from 1.15.0 to 1.16.0
2022-11-02 20:57:15 +01:00
David Peter
12affef049
Merge pull request #2388 from sharkdp/dependabot/cargo/assert_cmd-2.0.5
...
Bump assert_cmd from 2.0.4 to 2.0.5
2022-11-02 20:57:06 +01:00
David Peter
e29db4d052
Merge pull request #2386 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/cmd-help-ade16bf
...
Bump assets/syntaxes/02_Extra/cmd-help from `aa47747` to `ade16bf`
2022-11-02 20:56:52 +01:00
David Peter
a934be8ac5
Merge pull request #2387 from sharkdp/dependabot/cargo/serde-1.0.147
...
Bump serde from 1.0.145 to 1.0.147
2022-11-02 20:53:31 +01:00
David Peter
21791ffbfb
Merge pull request #2385 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/HTML(Twig)-aedf955
...
Bump assets/syntaxes/02_Extra/HTML (Twig) from `77def40` to `aedf955`
2022-11-02 20:53:18 +01:00
dependabot[bot]
600de05840
Bump nix from 0.24.2 to 0.25.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.24.2 to 0.25.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.2...v0.25.0 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 03:04:35 +00:00
dependabot[bot]
ea7cc9d82f
Bump once_cell from 1.15.0 to 1.16.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.15.0 to 1.16.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.15.0...v1.16.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>
2022-11-01 03:04:29 +00:00
dependabot[bot]
e536aa933e
Bump assert_cmd from 2.0.4 to 2.0.5
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.4...v2.0.5 )
---
updated-dependencies:
- dependency-name: assert_cmd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 03:04:27 +00:00
dependabot[bot]
eb841434cd
Bump serde from 1.0.145 to 1.0.147
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 03:04:23 +00:00