bat v0.22.0

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
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/-P override --paging=... if passed as a later arg, see #2201 (@themkat)
  • --map-syntax and --ignored-suffix now 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 fstab dump and pass fields, see #2246 (@yuvalmo)
  • Update Command Help syntax, see #2255
  • Julia: Fix syntax highlighting for function name starting with struct, see #2230
  • Minor update to LiveScript, see #2291
  • Associate .mts and .cts files with the TypeScript syntax. See #2236 (@kidonng)
  • Fish history is mapped to YAML. See #2237 (@kidonng)
bat as a library
  • Make bat::PrettyPrinter::syntaxes() iterate over new bat::Syntax struct instead of &syntect::parsing::SyntaxReference. See #2222 (@Enselic)
  • Clear highlights after printing, see #1919 and #1920 (@rhysd)
View original

Upgraded? How did it go?

Discussion