github sharkdp/bat v0.15.2

latest releases: v0.24.0, v0.23.0, v0.22.1...
4 years ago

Warning: this release suffers from #1022. bat will panic when called with a relative file path.

Bugfixes

  • --map-syntax doesn't work with names provided through --file-name (@eth-p)
  • Fix syntax detection for files called 'rails', see #1008
  • Fix potential errors with syntax detection for symlinked files, see #1001

Other

  • Add padding above headers when not using a grid, see #968 and #981 (@pt2121)
  • bat now prints an error if an invalid syntax is specified via -l or --map-syntax, see #1004 (@eth-p)

bat as a library

  • PrettyPrinter::vcs_modification_markers has been marked deprecated when building without the git feature, see #997 and #1020 (@eth-p, @sharkdp)

Packaging

  • Compilation problems with onig_sys on various platforms have been resolved by upgrading to syntect 4.2, which includes a new onig version that allows to build onig_sys without the bindgen dependency. This removes the need for libclang(-dev) to be installed to compile bat. Package maintainers might want to remove clang as a build dependency. See #650 for more details.

Don't miss a new bat release

NewReleases is sending notifications on new releases.