v0.22.0
Added 2
- Make the default macOS theme depend on Dark Mode
- Support for separate system and user config files
Changed 10
- Relax glibc requirements on amd64
- Improve fish completions
- Stop pre-processing ANSI escape characters
- Map NSE (Nmap Scripting Engine) to Lua
- Correctly color fstab dump and pass fields
- Update Command Help syntax
- Update LiveScript syntax
- Associate .mts and .cts files with the TypeScript syntax
- Map Fish history to YAML
- Make bat::PrettyPrinter::syntaxes() iterate over new bat::Syntax struct instead of &syntect::parsing::SyntaxReference
Fixed 6
- Prevent fork nightmare with PAGER=batcat
- Make --no-paging/-P override --paging=... if passed as a later arg
- Make --map-syntax and --ignored-suffix work together
- Strip byte order mark from output when in non-loop-through mode
- Fix Julia syntax highlighting for function name starting with struct
- Clear highlights after printing
Features
- Make the default macOS theme depend on Dark Mode. See #2197, #1746 (@Enselic)
- Support for separate system and user config files. See #668 (@patrickpichler)
Bugfixes
- Prevent fork nightmare with
PAGER=batcat. See #2235 (@johnmatthiggins) - Make
--no-paging/-Poverride--paging=...if passed as a later arg, see #2201 (@themkat) --map-syntaxand--ignored-suffixnow works together, see #2093 (@czzrr)- Strips byte order mark from output when in non-loop-through mode. See #1922 (@dag-h)
Other
- Relaxed glibc requirements on amd64, see #2106 and #2194 (@sharkdp)
- Improved fish completions. See #2275 (@zgracem)
- Stop pre-processing ANSI escape characters. Syntax highlighting on ANSI escaped input is not supported. See #2185 and #2189 (@Enselic)
Syntaxes
- NSE (Nmap Scripting Engine) is mapped to Lua, see #2151 (@Cre3per)
- Correctly color
fstabdump and pass fields, see #2246 (@yuvalmo) - Update
Command Helpsyntax, see #2255 Julia: Fix syntax highlighting for function name starting withstruct, see #2230- Minor update to
LiveScript, see #2291 - Associate
.mtsand.ctsfiles with theTypeScriptsyntax. See #2236 (@kidonng) - Fish history is mapped to YAML. See #2237 (@kidonng)
bat as a library
- Make
bat::PrettyPrinter::syntaxes()iterate over newbat::Syntaxstruct instead of&syntect::parsing::SyntaxReference. See #2222 (@Enselic) - Clear highlights after printing, see #1919 and #1920 (@rhysd)