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-filesizeto 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
_vimrcand_gvimrcfiles with theVimLsyntax. See #2002 - Associate
poetry.lockfiles with theTOMLsyntax. See #2049 - Associate
.mesh,.task,.rgen,.rint,.rahit,.rchit,.rmiss, and.rcallwith theGLSLsyntax. See #2050 - Added support for
JQsyntax, 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_setandget_thememethods onHighlightingAssets. See #2030 (@dandavison) - Added
HeaderFilenameandHeaderFilesizetoStyleComponentenum, and mark it#[non_exhaustive]. See #1988 (@mdibaiee)