- Update to f3d53b to fix build on Tumbleweed because of Rust 1.54
See https://github.com/sharkdp/bat/issues/1796
* Update git2 dependency to fix incompatibility with Rust 1.54
* Reduce startup time in loop-through mode with 80%-90%
* HighlightingAssets: Move out fn get_integrated_*set() to module scope
* Support a hidden arg --no-custom-assets that skips loading assets from the cache
* HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
* HighlightingAssets::get_extension_syntax(): Split up into smaller methods
* Make loading of cached assets closer in performance to integrated assets
* Add Enselic in FUNDING.yml
* Update battest.py
* Add `rs` identifier for Rust code blocks in Markdown
* Update CHANGELOG
* Add groff syntax
* Add custom FUNDING.yml
* HighlightingAssets: Introduce private fn new() helper
* HighlightingAssets: Encapsulate syntax_set behind a getter
* De-duplicate some themes.bin and syntaxes.bin related code
* Fix typo in README
- Update to version 0.18.2:
* Add note on vulnerability reporting, closes#1473
* Upgrade CHANGELOG with security vulnerability notice
* Update Julia syntax test
* Update Julia syntax, closes#1692
* Update assets
* Run cargo fmt
* Bump version to v0.18.2
* Use resolved path for --diagnostic as well
* Fix for Windows: do not run binaries from CWD
OBS-URL: https://build.opensuse.org/request/show/912887
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=29
- Update to version 0.18.0
* Features
- Use a pager when bat --list-languages is called, see #1394 (@stku1985)
* Bugfixes
- If the last line doesn't end with a newline character,
don't add it if --style=plain, see #1438 (@Enselic)
- Only print themes hint in interactive mode (bat --list-themes),
see #1439 (@rsteube)
- VimL syntax highlighting fix, see #1450 (@esensar)
- Print an 'Invalid syntax theme settings' error message if a custom
theme is broken, see #614 (@Enselic)
- If plain mode is set and wrap is not explicitly opted in,
long lines will no be truncated, see #1426
- If PAGER (but not BAT_PAGER or --pager) is more or most,
silently use less instead to ensure support for colors, see #1063 (@Enselic)
- If PAGER is bat, silently use less to prevent recursion.
For BAT_PAGER or --pager, exit with error, see #1413 (@Enselic)
- Manpage highlighting fix, see #1511 (@keith-hall)
- BAT_CONFIG_PATH ignored by bat if non-existent, see #1550 (@sharkdp)
* Other
- Performance improvements, see #1421 (@LovecraftianHorror)
- Added a new --diagnostic option to collect information for
bug reports, see #1459 (@sharkdp)
- Modified default theme colors to differentiate between a JSON key
and a string value, see #1400 (@keith-hall)
- Upped min required Rust version to 1.42
* Syntaxes
- Added Zig syntax, see #1470 (@paulsmith)
- Added Lean syntax, see #1446 (@Julian)
OBS-URL: https://build.opensuse.org/request/show/881305
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=25
- Update to 0.15.4
* Added missing Solarized themes
* Fixed highlighting bug in Haskell source files
* Cannot run bat with relative paths
* bat mishighlights Users that start with digits in SSH config
* --map-syntax doesn't work with names provided through --file-name
* Fix syntax detection for files called 'rails'
* Fix potential errors with syntax detection for symlinked files
* Fix highlighting of Markdown files
OBS-URL: https://build.opensuse.org/request/show/810631
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=21
- Update to version 0.15.0
* Features
- This release adds a new --diff/-d option that can be used to
only show lines surrounding Git changes, i.e. added, removed
or modified lines. The amount of additional context can be
controlled with --diff-context=N. See #23 and #940
* Bugfixes
- Error message printed in the middle of the output for another
file, see #946
Performance improvements when using custom caches (via bat
cache --build): the bat startup time should now be twice as
fast.
* Themes
- Updated version of the Solarized dark/light themes, see #941
* bat as a library
- There are a few changes in the "low level" API (the Config
struct has changed andthe error handler needs a new &mut dyn
Write argument). The high-level API is not affected.
- Changes from version 0.14.0
* Features
- Added a new --file-name <name>… option to overwrite the
displayed filename(s) in the header. This is useful when
piping input into bat. See #654 and #892.
- Added a new --generate-config-file option to create an
initial configuration file at the right place. See #870.
* Bugfixes
- Performance problems with C# source code have been fixed, see
#677
- Performance problems with Makefiles have been fixed, see #750
- Fix bug when highlighting Ruby files with unindented heredocs
OBS-URL: https://build.opensuse.org/request/show/800149
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=19
- Update to version 0.12.1
* Features
Binary file content can now be viewed with bat -A
bat can now be used as a man pager
Add new style component to separate multiple '--line-range'
Added '-L' as an alias for '--list-languages'
* Bugfixes
Output looks unbalanced when using '--style=grid,numbers' without 'header'
Issues with filenames starting with "cache"
'--terminal-width -10' is parsed incorrectly
* New syntaxes
Emacs Org mode
requirements.txt
DotENV '.env'
SSH config
And more... see upstream
- Set directory for 'git clone' in README.packager
- Add 'clang' to build dependencies
OBS-URL: https://build.opensuse.org/request/show/732986
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=12
- Update to version 0.11.0
* Features
New color themes: ansi-light, ansi-dark and base16
The -p/--plain option can be used twice (typically -pp). First -p switches --style to "plain", second disables pager.
* Bugfixes
Do not replace arguments to less when using --pager
Empty files are (once again) printed with a single header line
--terminal-width=0 is now disallowed
* New syntaxes
Fish
Update for F#
OBS-URL: https://build.opensuse.org/request/show/703433
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=10
- Add README.packager for instructions on how to generate vendor.tar.xz
- Update to version 0.10.0
* Features
New option --highlight-line <N>
New option -A/--show-all to show and highlight non-printable characters (in analogy to GNU cats option)
New option --pager to configure the pager
Support for a configuration file (https://github.com/sharkdp/bat#format)
Support for custom config file path via --config-file option or BAT_CONFIG_PATH environment variable
Support for custom syntax mappings via the -m/--max-syntax option
Support pager command-line arguments in PAGER and BAT_PAGER
The --terminal-width option can now also accept offsets
Support for multiple --line-range arguments
Encoding support for UTF-16LE and UTF-16BE
* Changes
Completely disabled the generation of shell completion files
Report the name of missing files
Don't start pager if file doesn't exist
Rename bat cache --init to bat cache --build
Move the --config-dir and --cache-dir options from bat cache to bat and hide them from the help text
The default tab-width has been set to 4
* New syntaxes supported
Robot framework, Twig, .desktop files, AsciiDoc, Assembly, Jsonnet,
Log files, Protobuf and ProtobufText, Terraform and Varlink
OBS-URL: https://build.opensuse.org/request/show/674133
OBS-URL: https://build.opensuse.org/package/show/utilities/bat?expand=0&rev=5