Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
bat --squeeze-blank
/bat -s
will now squeeze consecutive empty lines, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)bat --squeeze-limit
to set the maximum number of empty consecutive when using--squeeze-blank
, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)PrettyPrinter::squeeze_empty_lines
to support line squeezing for bat as a library, see #1441 (@eth-p) and #2665 (@einfachIrgendwer0815)#!/usr/bin/env bun
#2913 (@sharunkumar)bat --strip-ansi={never,always,auto}
to remove ANSI escape sequences from bat's input, see #2999 (@eth-p)--binary=as-text
for printing binary content, see issue #2974 and PR #2976 (@einfachIrgendwer0815)--completion <shell>
, see issue #2057 and PR #3126 (@einfachIrgendwer0815)Bugfixes
NO_COLOR
support, see #2767 (@acuteenvy)time
dependency caused by standard library regression #3045 (@cyqsimon)$LESSOPEN
support, see #2805 (@Anomalocaridid)Other
zsh
completion, see #2772 (@okapia)bat
, see #2995 (@akinomyoga)Syntaxes
cmd-help
: scope subcommands followed by other terms, and other misc improvements, see #2819 (@victor-gp).xsh
files withxonsh
syntax that is Python, see #2840 (@anki-code).jsonc
withjson
syntax, see #2795 (@mxaddict).jsonld
files withjson
syntax, see #3037 (@vorburger).textproto
files withProtoBuf
syntax, see #3038 (@vorburger).geojson
files withjson
syntax, see #3084 (@mvaaltola).aws/{config,credentials}
, see #2795 (@mxaddict)/etc/wireguard/*.conf
, see #2874 (@cyqsimon)*.mkd
files toMarkdown
syntax, see issue #3060 and PR #3061 (@einfachIrgendwer0815)/etc/pacman.conf
#2961 (@cyqsimon)uv.lock
withTOML
syntax, see #3132 (@fepegar)Themes
bat
as a librarysyntax_mapping::SyntaxMapping
#2755 (@cyqsimon)SyntaxMapping::get_syntax_for
is now correctly publicSyntaxMapping::{empty,builtin}
are removed; useSyntaxMapping::new
insteadSyntaxMapping::mappings
is replaced bySyntaxMapping::{builtin,custom,all}_mappings
Controller::run_with_error_handler
's error handlerFnMut
, see #2831 (@rhysd)theme::theme
for choosing an appropriate theme based on theterminal's color scheme, see #2896 (@bash)
HighlightingAssets::default_theme
. Usetheme::default_theme
instead.PrettyPrinter::print_with_writer
for custom output destinations, see #3070 (@kojix2)