v0.23.0
Added 7
- Implement `-S` and `--chop-long-lines` flags as aliases for `--wrap=never`
- Implement `--nonprintable-notation=caret` to support showing non-printable characters using caret notation
- Add support for Ada syntax
- Add `todo.txt` syntax
- Add a new `requirements.txt` syntax
- Add a new VimHelp syntax
- Add support for Crontab syntax
Changed 8
- Environment variables can now override config file settings, with command-line arguments still having the highest precedence
- Various bash completion improvements
- Disable completion of `cache` subcommand
- Significantly improve startup performance on macOS
- Bump MSRV to 1.62
- Improve Manpage.sublime-syntax
- Associate `pdm.lock` with `TOML` syntax
- Overhaul `cmd-help` scope names and improve syntax
Fixed 2
- Fix `bat cache --clear` not clearing the `--target` dir if specified
- Fix highlighting of contexts and projects at beginning of done.txt
Features
- Implemented
-Sand--chop-long-linesflags as aliases for--wrap=never. See #2309 (@johnmatthiggins) - Breaking change: Environment variables can now override config file settings (but command-line arguments still have the highest precedence), see #1152, #1281, and #2381 (@aaronkollasch)
- Implemented
--nonprintable-notation=caretto support showing non-printable characters using caret notation. See #2429 (@einfachIrgendwer0815)
Bugfixes
- Fix
bat cache --clearnot clearing the--targetdir if specified. See #2393 (@miles170)
Other
- Various bash completion improvements, see #2310 (@scop)
- Disable completion of
cachesubcommand, see #2399 (@cyqsimon) - Signifigantly improve startup performance on macOS, see #2442 (@BlackHoleFox)
- Bump MSRV to 1.62, see #2496 (@Enselic)
Syntaxes
- Added support for Ada, see #1300 and #2316 (@dkm)
- Added
todo.txtsyntax, see #2375 (@BANOnotIT) - Improve Manpage.sublime-syntax. See #2364 (@Freed-Wu) and #2461 (@keith-hall)
- Added a new
requirements.txtsyntax, see #2361 (@Freed-Wu) - Added a new VimHelp syntax, see #2366 (@Freed-Wu)
- Associate
pdm.lockwithTOMLsyntax, see #2410 Todo.txt: Fix highlighting of contexts and projects at beginning of done.txt, see #2411cmd-help: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)- Added support for Crontab, see #2509 (@keith-hall)