# bat v0.20.0 - Product: bat (https://whatsnew.fyi/product/bat) - Vendor: David Peter - Date: 2022-02-27 - Version: v0.20.0 - Original notes: https://github.com/sharkdp/bat/releases/tag/v0.20.0 - Permalink: https://whatsnew.fyi/product/bat/releases/v0.20.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — New style component `header-filesize` to show size of the displayed file in the header - **changed** — Use underline for line highlighting on ANSI - **fixed** — Fix bash completion on bash 3.x and bash-completion 1.x - **changed** — GraphQL syntax: Add support for interfaces implementing interfaces and consider ampersand an operator - **changed** — Associate `_vimrc` and `_gvimrc` files with the VimL syntax - **changed** — Associate `poetry.lock` files with the TOML syntax - **changed** — Associate `.mesh`, `.task`, `.rgen`, `.rint`, `.rahit`, `.rchit`, `.rmiss`, and `.rcall` files with the GLSL syntax - **added** — Add support for JQ syntax - **changed** — Properly associate global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/` - **added** — Expose `get_syntax_set` and `get_theme` methods on `HighlightingAssets` - **added** — Add `HeaderFilename` and `HeaderFilesize` to `StyleComponent` enum and mark it `#[non_exhaustive]` ##### 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)