1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-12 14:53:56 +01:00
Commit Graph

3512 Commits

Author SHA1 Message Date
Keith Hall
d3cf75a36e Update changelog 2025-10-09 21:50:58 +03:00
Keith Hall
8221554865 Bump MSRV to get syntect to compile
https://releases.rs/docs/1.79.0/

> Propagate temporary lifetime extension into if and match expressions.

1.79 was released on: 13 June, 2024
2025-10-09 21:50:58 +03:00
Keith Hall
a2eaa6c22c Bump syntect to v5.3.0 2025-10-09 21:50:58 +03:00
dependabot[bot]
5863a57921 build(deps): bump assets/syntaxes/02_Extra/Idris2
Bumps [assets/syntaxes/02_Extra/Idris2](https://github.com/buzden/sublime-syntax-idris2) from `7c1bf44` to `2874f20`.
- [Commits](7c1bf44c4f...2874f206f5)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Idris2
  dependency-version: 2874f206f56c588a29fd76b88043129471d1454a
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 19:45:02 +02:00
dependabot[bot]
af365d762f build(deps): bump assets/syntaxes/02_Extra/SublimeJQ
Bumps [assets/syntaxes/02_Extra/SublimeJQ](https://github.com/zogwarg/SublimeJQ) from `b7e53e5` to `84770c5`.
- [Commits](b7e53e5d86...84770c52bd)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/SublimeJQ
  dependency-version: 84770c52bd0d6cea73bd41299a2770ee931320bc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 19:20:15 +02:00
dependabot[bot]
640369d4a1 build(deps): bump assets/syntaxes/02_Extra/Slim
Bumps [assets/syntaxes/02_Extra/Slim](https://github.com/slim-template/ruby-slim.tmbundle) from `3b1441f` to `cad0268`.
- [Commits](3b1441f89f...cad02689b6)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/Slim
  dependency-version: cad02689b6c6e03d67dab8eaadb22cf0fd3b436b
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 18:53:24 +02:00
dependabot[bot]
7a13516d21 build(deps): bump assets/themes/dracula-sublime
Bumps [assets/themes/dracula-sublime](https://github.com/dracula/sublime) from `c2de0ac` to `d490b57`.
- [Commits](c2de0acf5a...d490b57c08)

---
updated-dependencies:
- dependency-name: assets/themes/dracula-sublime
  dependency-version: d490b57c08f3d110ff61a07ec6edcc1ed9e24a63
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-09 18:01:38 +02:00
Keith Hall
01b7ac62c5 Merge pull request #3413 from sharkdp/ansi_theme_json
Update ansi theme to highlight JSON keys separately from string values
2025-10-08 23:31:42 +03:00
Keith Hall
aa1c4fb48f update themes.bin to see if integration tests will pass 2025-10-08 23:22:06 +03:00
Keith Hall
c0389b0e5c add integration test for ANSI theme with simple JSON 2025-10-08 23:12:39 +03:00
Keith Hall
3e816f08c7 Update ansi theme to highlight JSON keys separately from string values 2025-10-08 23:12:39 +03:00
Keith Hall
6c8929128f Merge pull request #3414 from sharkdp/ignore_invalid_config_for_help_and_version
Fix help/version/diagnostic commands with invalid config
2025-10-08 22:58:05 +03:00
Keith Hall
98b75db115 Update changelog 2025-10-08 22:46:08 +03:00
Keith Hall
2badaf5d99 cargo fmt 2025-10-08 22:45:50 +03:00
Keith Hall
588ff32d18 Fix help/version/diagnostic commands with invalid config 2025-10-08 22:45:50 +03:00
0x61nas
1838e25d2f feat(cargo): add vendored-libgit2 feature (#3426)
* feat(cargo): add vendored-libgit2 feature

this is done to resolve the issues when the host system doesn't have
`libgit2` installed or if its incompatible with the version we expect

see: sharkdp/bat/issues/2939

* docs(changelog): add vendored libgit2 entry
2025-10-08 19:48:25 +02:00
Keith Hall
0e931aadde Merge pull request #3411 from sharkdp/completions
Add missing shell completions for various CLI arguments
2025-10-07 22:42:31 +03:00
Keith Hall
8e90efb2b4 Add missing shell completions for various CLI arguments 2025-10-07 22:30:53 +03:00
Martin Nordholts
e3f92c0975 CONTRIBUTING.md: Note that new themes are not desired right now 2025-10-07 20:43:13 +02:00
Keith Hall
da23939561 Merge pull request #3412 from sharkdp/dmesg_syntax_mapping
Map /var/log/dmesg to Syslog syntax
2025-10-07 20:24:34 +03:00
Keith Hall
d478ba2923 Merge branch 'master' into dmesg_syntax_mapping 2025-10-07 20:12:34 +03:00
dependabot[bot]
f558902ad2 build(deps): bump wait-timeout from 0.2.0 to 0.2.1
Bumps [wait-timeout](https://github.com/alexcrichton/wait-timeout) from 0.2.0 to 0.2.1.
- [Commits](https://github.com/alexcrichton/wait-timeout/compare/0.2.0...0.2.1)

---
updated-dependencies:
- dependency-name: wait-timeout
  dependency-version: 0.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-07 19:02:30 +02:00
Keith Hall
3ae23cc57b Merge pull request #3424 from DarkMatter-999/feat/add-gomod-support
Add go.mod and go.sum Syntax Support
2025-10-04 00:18:07 +03:00
DarkMatter-999
7b67981fb9 tests: fix highlights for Go module syntax 2025-10-03 13:26:59 +05:30
DarkMatter-999
7ee6ee385e docs: update CHANGELOG.md 2025-10-03 13:09:57 +05:30
DarkMatter-999
28ab873a3f tests: add syntax tests for go.mod and go.sum 2025-10-03 13:00:09 +05:30
DarkMatter-999
d392cea348 feat: Add Gomod submodule for go.mod / go.sum syntax support 2025-10-03 12:40:59 +05:30
dependabot[bot]
6ece3063ab build(deps): bump itertools from 0.13.0 to 0.14.0
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.13.0 to 0.14.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: itertools
  dependency-version: 0.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-02 19:24:54 +02:00
Keith Hall
839bfded39 Map /var/log/dmesg to Syslog syntax 2025-09-27 22:48:13 +03:00
Keith Hall
2c87b9480f Bump jsonnet syntax dependency 2025-09-27 16:41:05 +03:00
Keith Hall
2ae4253577 Merge pull request #3397 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/VimL-fe5bf5e
build(deps): bump assets/syntaxes/02_Extra/VimL from `ee85822` to `fe5bf5e`
2025-09-27 16:12:39 +03:00
dependabot[bot]
0d468b023a build(deps): bump assets/syntaxes/02_Extra/VimL
Bumps [assets/syntaxes/02_Extra/VimL](https://github.com/SalGnt/Sublime-VimL) from `ee85822` to `fe5bf5e`.
- [Release notes](https://github.com/SalGnt/Sublime-VimL/releases)
- [Commits](ee85822cbe...fe5bf5ea70)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/VimL
  dependency-version: fe5bf5ea7055b35035438c64d822aae1f1dfdb41
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-27 15:59:52 +03:00
Viktor
60096d9971 Update README.md 2025-09-27 11:16:01 +02:00
Ritoban Dutta
e879f532a7 Mapping .kshrc to bash for syntax highlighting #3361 (#3364)
* Add syntax highlighting support for .kshrc files and update mapping in KornShell syntax #3361
2025-09-23 16:56:52 +00:00
jyn
c8b8132228 Only leave space for git diff markers if any line is modified (#3406)
Previously, setting `--style=changes` would always print a 2-space
indent, even if the file was unmodified. This changes the style to only
print an indent if there is at least one +/- git marker in the sidebar.
2025-09-22 07:42:56 +02:00
Keith Hall
9d003dd1b9 Merge pull request #3402 from academician/minus-integration
Add --pager=builtin using the Minus library
2025-09-20 08:43:47 +03:00
Academician
c36dbf86f5 Add builtin pager to changelog 2025-09-09 16:26:49 -04:00
Academician
c29f1875d3 Add --builtin=pager to readme, completions, and man pages 2025-09-09 16:26:49 -04:00
Daniel Waechter
a470cebf32 Add a "builtin" pager using the Minus crate 2025-09-09 16:15:54 -04:00
Keith Hall
929669728c Merge pull request #3396 from sharkdp/dependabot/submodules/assets/syntaxes/02_Extra/CMake-2560a08
build(deps): bump assets/syntaxes/02_Extra/CMake from `eb40ede` to `2560a08`
2025-09-04 09:34:27 +03:00
dependabot[bot]
4f912fca16 build(deps): bump assets/syntaxes/02_Extra/CMake
Bumps [assets/syntaxes/02_Extra/CMake](https://github.com/zyxar/Sublime-CMakeLists) from `eb40ede` to `2560a08`.
- [Release notes](https://github.com/zyxar/Sublime-CMakeLists/releases)
- [Commits](eb40ede56c...2560a080b3)

---
updated-dependencies:
- dependency-name: assets/syntaxes/02_Extra/CMake
  dependency-version: 2560a080b3b7dcdb05e17ee85b2171776e84b8c1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-04 09:22:04 +03:00
Keith Hall
93b020bf93 Merge pull request #3400 from CosmicHorrorDev/upd-onig-sys
build(deps): bump onig_sys 69.8.1 to 69.9.1
2025-09-04 09:20:23 +03:00
Cosmic Horror
d7f11869ab build(deps): bump onig_sys 69.8.1 to 69.9.1 2025-09-04 00:00:18 -06:00
dependabot[bot]
fe4754e9cd build(deps): bump clap from 4.5.24 to 4.5.46
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.24 to 4.5.46.
- [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.5.24...clap_complete-v4.5.46)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.46
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 17:27:17 +02:00
dependabot[bot]
ff8cd39620 build(deps): bump unicode-width from 0.2.0 to 0.2.1
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.2.0 to 0.2.1.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.2.0...v0.2.1)

---
updated-dependencies:
- dependency-name: unicode-width
  dependency-version: 0.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 06:42:02 +02:00
dependabot[bot]
8d65d4591b build(deps): bump globset from 0.4.15 to 0.4.16
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.15 to 0.4.16.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.15...globset-0.4.16)

---
updated-dependencies:
- dependency-name: globset
  dependency-version: 0.4.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-02 06:26:26 +02:00
dependabot[bot]
b4dcc155f0 build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [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/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 19:23:43 +02:00
Sander
f754f43e84 docs: fix command examples
its anoying to copy with the `>` in there
2025-09-01 18:53:15 +02:00
Sorin Sbarnea
d291b3e5fa chore: Fix some typos (#3244) 2025-08-28 17:30:50 +00:00
Josef Andersson
6772225477 docs(security): add initial security policy (#3290) 2025-08-27 18:33:50 +00:00