Page MenuHomeSolus

Update bat to 0.21.0
ClosedPublic

Authored by davidjharder on Thu, May 12, 4:59 PM.

Details

Summary

Summarized Changelog

  • Correctly render tab stops in --show-all
  • Add a --style=default option and make it the default. It is less verbose than full
  • File extensions are now matched case-insensitively
  • bat no longer crashes when encountering files that references missing syntaxes
  • Skip syntax highlighting on long lines (> 16384 chars) to help improve performance
  • Vastly improve startup time by lazy-loading syntaxes via syntect 5.0.0. This makes bat display small files ~75% faster than before
  • Syntax changes

Full changelog here

Test Plan
  • Read out some files

Diff Detail

Repository
R4509 bat
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

davidjharder created this revision.Thu, May 12, 4:59 PM
davidjharder requested review of this revision.Thu, May 12, 4:59 PM
algent accepted this revision.Thu, May 12, 6:00 PM
algent added a subscriber: algent.

LGTM, thanks!

This revision is now accepted and ready to land.Thu, May 12, 6:00 PM
This revision was automatically updated to reflect the committed changes.