bat v0.20.0

v0.20.0
Added 4
  • New style component `header-filesize` to show size of the displayed file in the header
  • Add support for JQ syntax
  • Expose `get_syntax_set` and `get_theme` methods on `HighlightingAssets`
  • Add `HeaderFilename` and `HeaderFilesize` to `StyleComponent` enum and mark it `#[non_exhaustive]`
Changed 6
  • Use underline for line highlighting on ANSI
  • GraphQL syntax: Add support for interfaces implementing interfaces and consider ampersand an operator
  • Associate `_vimrc` and `_gvimrc` files with the VimL syntax
  • Associate `poetry.lock` files with the TOML syntax
  • Associate `.mesh`, `.task`, `.rgen`, `.rint`, `.rahit`, `.rchit`, `.rmiss`, and `.rcall` files with the GLSL syntax
  • Properly associate global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/`
Fixed 1
  • Fix bash completion on bash 3.x and bash-completion 1.x
Features
  • New style component header-filesize to show size of the displayed file in the header. See #1988 (@mdibaiee)
  • Use underline for line highlighting on ANSI, see #1730 (@mdibaiee)
Bugfixes
  • Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon)
Syntaxes
  • GraphQL: Add support for interfaces implementing interfaces and consider ampersand an operator. See #2000
  • Associate _vimrc and _gvimrc files with the VimL syntax. See #2002
  • Associate poetry.lock files with the TOML syntax. See #2049
  • Associate .mesh, .task, .rgen, .rint, .rahit, .rchit, .rmiss, and .rcall with the GLSL syntax. See #2050
  • Added support for JQ syntax, see #2072 (@clarfonthey)
  • Properly associate global git config files rooted in $XDG_CONFIG_HOME/git/ or $HOME/.config/git/. See #2067 (@cyqsimon)
bat as a library
  • Exposed get_syntax_set and get_theme methods on HighlightingAssets. See #2030 (@dandavison)
  • Added HeaderFilename and HeaderFilesize to StyleComponent enum, and mark it #[non_exhaustive]. See #1988 (@mdibaiee)
View original

Upgraded? How did it go?

Discussion