Keith Hall
b671e53c2c
Merge pull request #3857 from MeGaurav4/master
...
feat: implement `-b` / `--number-nonblank` for `cat -b` compatibility
2026-08-11 17:39:20 +03:00
Keith Hall
af59a32183
Merge pull request #3876 from Matei02355/fix-log-syntax-performance-3866
...
fix(syntax): avoid repeated log level scans
2026-08-10 21:30:13 +03:00
Keith Hall
c63838efeb
Merge branch 'master' into fix-log-syntax-performance-3866
2026-08-10 21:19:46 +03:00
Keith Hall
8112350da6
Merge pull request #3747 from mvanhorn/fix/3697-bat-auto-detect-language-from-stdin
...
chore: improve auto-detection of language from stdin via first-line patterns and add tests
2026-08-10 19:43:01 +03:00
Keith Hall
a5deaf63ff
Merge branch 'master' into fix/3697-bat-auto-detect-language-from-stdin
2026-08-10 19:32:11 +03:00
Keith Hall
2fb2415731
Merge pull request #3885 from latent-9/fix-doc-typos
...
Fix doubled word in README
2026-08-10 05:37:48 +03:00
Keith Hall
73dc3258be
Merge pull request #3862 from lenamonj/fix/sanitize-bidi-control-set
...
Fix --sanitize passing through the bidi control characters U+200E, U+200F and U+061C
2026-07-30 00:27:20 +03:00
Keith Hall
0230cba42d
Merge pull request #3828 from cyphercodes/fix-list-languages-paging-never
...
Respect paging mode for --list-languages
2026-07-29 23:49:08 +03:00
Keith Hall
227e0fa00f
Merge branch 'master' into fix-list-languages-paging-never
2026-07-29 23:33:51 +03:00
Keith Hall
3a7a750969
Merge branch 'master' into fix-list-languages-paging-never
2026-07-29 21:25:10 +03:00
Keith Hall
c371044276
Merge pull request #3861 from TyceHerrman/fix/cargo-audit-2026-07
...
chore(deps): resolve current cargo audit failures
2026-07-29 21:18:39 +03:00
Keith Hall
78951393e2
Merge pull request #3729 from curious-rabbit/sanitize
...
add --sanitize option
2026-07-01 23:15:58 +03:00
Keith Hall
bb4f48a124
Merge pull request #3816 from adnrivera/fix/ignored-suffix-firstline
...
Fix --ignored-suffix to fall back to first-line detection
2026-07-01 00:40:18 +03:00
Keith Hall
835bd2a756
Merge pull request #3793 from Matei02355/fix-sml-definition-link
...
docs: fix SML syntax source link
2026-06-28 22:25:36 +03:00
Keith Hall
3409674d9c
Merge branch 'master' into fix-sml-definition-link
2026-06-28 22:15:42 +03:00
Keith Hall
7de0c4ba47
Merge pull request #3809 from dhruvkb/patch-1
...
Include `.code-workspace` as a JSON extension
2026-06-27 22:21:18 +03:00
Keith Hall
20a818fe14
Merge branch 'master' into patch-1
2026-06-27 21:58:52 +03:00
Keith Hall
30b50a9eed
Merge pull request #3814 from injust/dnf-repo
...
Add syntax mapping for DNF config
2026-06-27 21:57:37 +03:00
Keith Hall
b7ae4585ad
Merge pull request #3812 from greymoth-jp/fix/list-languages-narrow-width-underflow
...
fix: avoid usize underflow in --list-languages at narrow terminal width
2026-06-27 06:12:21 +03:00
Keith Hall
a4609d1778
Merge branch 'master' into fix/list-languages-narrow-width-underflow
2026-06-27 06:03:16 +03:00
Keith Hall
8f70e0cf00
Merge pull request #3703 from blinxen/master
...
Replace libgit2 with gitoxide (#2 )
2026-06-27 05:53:22 +03:00
Keith Hall
6d4a3cef53
Merge pull request #3789 from CosmicHorrorDev/caddy
...
feat: add syntax highlighting for `Caddyfile`
2026-06-17 20:35:17 +03:00
Keith Hall
5bb35b4bed
Merge pull request #3804 from leeewee/fix-snip-terminal-width-1-panic
...
Fix capacity-overflow panic in snip separator at --terminal-width 1
2026-06-16 20:19:08 +03:00
Keith Hall
f3d0773468
Merge pull request #3761 from mvanhorn/fix/3760-completion-skip-pager
...
fix(completions): force --no-paging on bat invocations in completion scripts (#3760 )
2026-05-20 07:00:37 +03:00
Keith Hall
ce7ad9adca
Merge pull request #3758 from injust/patch-1
...
Include `.ssh/` subdirectories in SSH Config syntax mapping
2026-05-18 20:26:18 +03:00
Keith Hall
f9fa590c3d
Merge branch 'master' into patch-1
2026-05-18 20:11:48 +03:00
Keith Hall
1e1c3773fb
Merge pull request #3759 from injust/patch-2
...
Add Ghostty syntax mapping
2026-05-18 20:10:26 +03:00
Keith Hall
2cec8cdf25
Merge pull request #3737 from truffle-dev/fix/zsh-completion-language-only
...
fix: only offer language names in zsh tab completion for `-l`
2026-05-11 20:32:12 +03:00
Keith Hall
f74082cee8
Merge pull request #3734 from kimjune01/fix/zsh-completion-force-plain
...
fix: pass --color=never --decorations=never in zsh completions
2026-05-09 13:52:47 +03:00
Keith Hall
f57c1b6b1d
Merge pull request #3726 from curious-rabbit/less
...
fix command injection in LESS template
2026-05-07 05:34:13 +03:00
Keith Hall
517de0463b
Merge branch 'master' into less
2026-05-07 05:23:26 +03:00
Keith Hall
cfc6d9c415
Merge pull request #3728 from Daeraxa/fix-fedora-section
...
Fix README Fedora section links
2026-05-06 04:59:37 +03:00
Keith Hall
baebdd1789
Merge pull request #3623 from zachvalenta/makefile-syntax-for-justfiles
...
Makefile syntax for justfiles
2026-05-02 14:04:55 +03:00
Keith Hall
f7b84a3b41
Merge branch 'master' into makefile-syntax-for-justfiles
2026-05-02 13:56:45 +03:00
Keith Hall
7fcab0616a
Merge pull request #3700 from optimistiCli/list-themes-term-probe-fix
...
Fixed hardcoded terminal probing when `--list-themes` is called
2026-04-30 18:09:32 +03:00
Keith Hall
e157ac911b
Merge branch 'master' into list-themes-term-probe-fix
2026-04-30 17:58:24 +03:00
Keith Hall
b29e1d55c4
Merge pull request #3709 from mvanhorn/osc/3228-readme-style-list
...
docs(README): list available --style components in Output style section
2026-04-30 14:15:25 +03:00
Keith Hall
12ee94f530
Merge branch 'master' into list-themes-term-probe-fix
2026-04-30 14:13:47 +03:00
Keith Hall
8fbc96a5f2
Merge pull request #3654 from cuiweixie/fix/lessclose-nonzero-warning
...
fix: correct $LESSCLOSE exit-status warning
2026-04-30 08:19:42 +03:00
Keith Hall
54bfc33248
Merge branch 'master' into fix/lessclose-nonzero-warning
2026-04-30 08:10:40 +03:00
Keith Hall
91aac95db2
Merge pull request #3691 from curious-rabbit/master
...
sanitize filenames
2026-04-28 23:24:00 +03:00
Keith Hall
5977245a23
Merge branch 'master' into fix/lessclose-nonzero-warning
2026-04-28 19:24:00 +03:00
Keith Hall
3f98e6f10f
Merge branch 'master' into master
2026-04-28 19:22:51 +03:00
Keith Hall
78cb14af05
Merge pull request #3699 from guille/master
...
Improve Kotlin syntax
2026-04-27 22:26:10 +03:00
Keith Hall
8c8ed90d6d
Merge branch 'master' into master
2026-04-27 22:20:33 +03:00
Keith Hall
8cadefb5cb
Merge pull request #3706 from lawrence3699/fix/initial-read-errors
...
Propagate initial input read errors
2026-04-27 21:46:10 +03:00
Keith Hall
de2f21562a
Merge pull request #3704 from sharkdp/fix/zsh-completion-language-word-split
...
Fix/zsh completion language word split
2026-04-27 06:07:37 +03:00
Keith Hall
93c52a4f88
Merge pull request #3692 from barry3406/fix/remove-crt-windows
...
windows: statically link the CRT to remove vcruntime dependency
2026-04-20 05:09:54 +03:00
Keith Hall
e782ec125c
Merge pull request #3647 from mvanhorn/osc/3513-tcl-shebang
...
feat: add tclsh, wish, and expect shebang detection for Tcl syntax
2026-04-19 05:52:52 +03:00
Keith Hall
f822bd05ce
Merge pull request #3689 from janlarres/python-uv
...
[Python] Support uv as script runner in shebang
2026-04-13 20:28:02 +03:00
Keith Hall
a36b02d90f
Merge pull request #3688 from orbisai0security/fix-fix-shell-injection-subprocess-call
...
fix: sanitize subprocess call in generate_snapshots.py
2026-04-12 16:04:47 +03:00
Keith Hall
33045c3558
Merge pull request #3687 from officialasishkumar/support-bat-width-env
...
Support BAT_WIDTH for terminal width
2026-04-12 04:59:03 +03:00
Keith Hall
a995764d23
Merge pull request #3686 from officialasishkumar/fix-zip-binary-detection
...
Detect ZIP archives as binary content
2026-04-10 20:30:27 +03:00
Keith Hall
111aa2e10e
Merge pull request #3682 from ltrzesniewski/slnx
...
Add .NET `slnx` extension
2026-04-08 05:20:55 +03:00
Keith Hall
11efacbe64
Merge pull request #3661 from sharkdp/diagnostic_themes
...
Update --diagnostic output with BAT_THEME_LIGHT/DARK env vars and detected theme type
2026-04-02 21:44:28 +03:00
Keith Hall
204ca18d71
Merge branch 'master' into diagnostic_themes
2026-04-02 21:36:24 +03:00
Keith Hall
3e4169b8c3
cargo fmt
2026-03-31 22:35:21 +03:00
Keith Hall
ba223289ce
Update --diagnostic output with detected terminal color scheme type
2026-03-31 22:23:10 +03:00
Keith Hall
abab6533e4
Update --diagnostic output with BAT_THEME_LIGHT/DARK env vars
2026-03-31 22:22:31 +03:00
Keith Hall
7d9884d6d2
Merge pull request #3655 from claw-explorer/docs/fish-abbr-removal
...
docs: add instructions for removing fish help abbreviations
2026-03-28 22:44:07 +02:00
Keith Hall
3ee9ea9a8d
Merge pull request #3652 from cyqsimon/syntax-mapping-glob-parse-cleanup
...
Builtin syntax mapping: cleanup matcher glob parsing logic
2026-03-25 22:01:52 +02:00
Keith Hall
a500fb236a
Merge pull request #3650 from Sim-hu/fix/i686-deb-architecture
...
fix: use correct Debian architecture name for i686 .deb
2026-03-24 22:37:48 +02:00
Keith Hall
515b9d62db
Merge branch 'master' into fix/i686-deb-architecture
2026-03-24 22:23:29 +02:00
Keith Hall
62907b1da5
Merge pull request #3651 from sharkdp/minus_home_end_keys
...
Add Home/End key bindings to builtin minus pager
2026-03-24 22:22:53 +02:00
Keith Hall
eef7107407
update changelog
2026-03-24 21:38:07 +02:00
Keith Hall
780fdeb888
Merge pull request #3576 from vorburger/patch-2
...
feat: Map BUILD to Python (Starlark) for Bazel (fixes #3575 )
2026-03-22 20:14:05 +02:00
Keith Hall
7a9c6e0de5
Merge branch 'master' into patch-2
2026-03-22 17:47:24 +02:00
Keith Hall
a1e7c0ab4a
Merge pull request #3643 from mvanhorn/feat/diff-plain-compatibility
...
feat: preserve change markers when combining --diff with --plain
2026-03-21 16:30:43 +02:00
Keith Hall
1e36873704
Merge branch 'master' into feat/diff-plain-compatibility
2026-03-21 16:21:56 +02:00
Keith Hall
66eece4e2c
Merge branch 'master' into patch-2
2026-03-20 23:57:19 +02:00
Keith Hall
a19593b383
improvements from PR review
...
1. Added `Deserialize` derive and `#[serde(try_from = "RawMatcher")]` to the `Matcher` struct. With `try_from`, serde generates a `Deserialize` impl that first deserializes into `RawMatcher`, then calls `TryFrom<RawMatcher> for Matcher`. It never attempts to deserialize `Matcher`'s fields directly, so `Case` and `MatcherSegment` don't need `Deserialize` impls.
2. Replaced the manual `impl<'de> serde::Deserialize<'de> for Matcher` with a standard `impl TryFrom<RawMatcher> for Matcher`. The logic is identical - the conversion is fallible because `Matcher::from_str` returns `Result<_, anyhow::Error>`, so `try_from` (not `from`) is the correct choice, avoiding any panics.
The net effect: same behavior, same error handling, but using the idiomatic serde pattern instead of a manual deserializer impl. The `RawMatcher` intermediate type and its `#[serde(untagged)]` derive remain unchanged.
2026-03-20 23:53:30 +02:00
Keith Hall
7a6f442c86
improvements from PR review
...
- prefer to use `Default::default` because it's semantically clearer why we've chosen to use a particular value
2026-03-20 23:35:27 +02:00
Keith Hall
3767f15c2a
improvements from PR review
...
fix documentation about syntax mappings
2026-03-20 23:34:38 +02:00
Keith Hall
1932d1da39
Merge pull request #3642 from mvanhorn/fix/deb-musl-package-names
...
fix: consistent .deb MUSL package names
2026-03-20 22:57:41 +02:00
Keith Hall
b0e5590864
Merge branch 'master' into fix/deb-musl-package-names
2026-03-20 22:42:24 +02:00
Keith Hall
f2daa1eb6e
Merge pull request #3640 from eyupcanakman/fix/binary-as-text-width-3631
...
Fix line wrapping for files with control characters
2026-03-20 22:40:28 +02:00
Keith Hall
4a38eab3ea
Merge pull request #3628 from XploitMonk0x01/codex/clarify-bat-vs-batcat
...
docs: clarify Ubuntu and Debian executable name
2026-03-19 23:00:59 +02:00
Keith Hall
c6e661d80b
cargo fmt
2026-03-18 22:25:07 +02:00
Keith Hall
031ba0953a
Merge branch 'master' into patch-2
2026-03-18 22:17:18 +02:00
Keith Hall
31e30a2e97
Merge pull request #3636 from victor-gp/add-mapping-for-ignore-files
...
Add mapping for ignore files
2026-03-18 22:08:02 +02:00
Keith Hall
f11374535d
Merge pull request #3629 from Rohan5commit/docs/fix-readme-wording
...
docs: fix README sidebar wording
2026-03-18 20:37:04 +02:00
Keith Hall
22c38b6fcb
Merge remote-tracking branch 'origin/master' into patch-2
2026-03-18 05:19:21 +02:00
Keith Hall
63d5796f8f
Merge pull request #3635 from victor-gp/add-mappings-for-gcloud-cli
...
Add syntax mappings for GCloud CLI config files
2026-03-17 22:45:12 +02:00
Keith Hall
884765bdeb
Merge remote-tracking branch 'origin/master' into patch-2
2026-03-14 09:21:19 +02:00
Keith Hall
56fe0fa226
Add case-sensitive glob support to syntax mapping
...
to allow us to map `BUILD` case sensitively to Python for Skylark
2026-03-14 09:18:56 +02:00
Keith Hall
d9adfe90fc
Merge pull request #3627 from XploitMonk0x01/codex/clarify-theme-format
...
docs: clarify supported custom theme format
2026-03-14 09:08:30 +02:00
Keith Hall
23abbdcea9
Merge pull request #3584 from adukhan99/add-cobol-syntax
...
Add COBOL syntax highlighting
2026-03-11 18:51:14 +02:00
Keith Hall
0dcdcb678a
Merge pull request #3621 from Xavrir/fix-symlink-syntax-detection
...
Fix syntax highlighting for symlinked files by resolving target path
2026-03-08 20:01:25 +02:00
Keith Hall
fc4f12b390
Merge pull request #3620 from Xavrir/fix-bat-config-dir-duplicate
...
Fix BAT_CONFIG_DIR pointing at system config directory causing duplicate flag errors
2026-03-08 08:23:14 +02:00
Keith Hall
1424f9d6bf
Merge pull request #3609 from Nicolas0315/fix/builtin-pager-drop-panic
...
Fix panic in BuiltinPager Drop when pager thread fails (#3449 )
2026-03-02 04:57:37 +02:00
Keith Hall
7d7e202bd5
Merge pull request #3588 from IMaloney/fix/warn-missing-pager
...
warn when pager is missing instead of silently falling back
2026-02-20 20:46:38 +02:00
Keith Hall
74de075748
Merge branch 'master' into fix/warn-missing-pager
2026-02-20 20:37:07 +02:00
Keith Hall
594069581d
Merge pull request #3592 from IMaloney/fix/wrap-never-clean
...
respect --wrap=never flag when piping to pager
2026-02-20 20:26:23 +02:00
Keith Hall
fbc05da785
Merge pull request #3586 from BlueElectivire/master
...
Fixed manpage syntax to remove ANSI artifacts
2026-02-19 18:56:14 +02:00
Keith Hall
990b2fc06f
Merge pull request #3583 from mainnebula/steward/sharkdp-bat-3555-2de8ac3c
...
feat: implement --unbuffered mode for streaming input
2026-02-12 08:40:44 +02:00
Keith Hall
391e7ff072
Merge pull request #3581 from NORMAL-EX/chore/update-time-crate
...
chore(deps): update time crate to 0.3.47 (RUSTSEC-2026-0009)
2026-02-07 13:37:17 +02:00
Keith Hall
3df9d581b7
Merge pull request #3527 from Anchal-T/master
...
Fix bat crash with BusyBox less on Windows
2026-02-03 22:40:04 +02:00
Keith Hall
eb724f2dc4
Merge branch 'master' into master
2026-02-03 22:27:30 +02:00
Keith Hall
c491488140
Merge pull request #3578 from vorburger/nix
...
Add initial flake.nix; just for develop, for now (fixes#3577)
2026-02-03 22:25:49 +02:00
Keith Hall
8664cc9df9
Merge pull request #3563 from NORMAL-EX/feat/quiet-empty
...
feat: add --quiet-empty flag to suppress output on empty input
2026-02-01 11:15:45 +02:00