Release /
bat v0.19.0
Show a window around a line with relative ranges such as `20:+10`.
Before you upgrade to v0.19.0
1 to fixWhat changed in v0.19.0
Line ranges accept `x:+delta` and `x:-delta`; `--ignored-suffix` ignores backup suffixes for syntax detection; `$BAT_CONFIG_DIR` sets the config directory. Startup is faster in loop-through mode.
Also: `--acknowledgements` credits theme and syntax authors; the requirements.txt syntax was removed for licensing reasons.
v0.19.0; building from source needs Rust 1.51.
Fixed and improved
`--line-range 20:+10` and `20:-10` select lines relative to a start line.
`$BAT_CONFIG_DIR` sets where bat looks for its configuration and takes precedence over `$XDG_CONFIG_HOME`.
Read the evidence
`--ignored-suffix` makes bat ignore suffixes such as `.bak` when detecting the language.
Read the evidence
Seeded by @iluxav with Claude Code (canido), from the release's public sources. Each change links to its evidence.