1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-23 17:03:18 +00:00
Files
sharkdp--bat/src/bin/bat
Martin Nordholts a81009607a HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
Or rather, introduce new versions of these methods and deprecate the old ones.

This is preparation to enable robust and user-friendly support for lazy-loading.
With lazy-loading, we don't know if the SyntaxSet is valid until after we try to
use it, so wherever we try to use it, we need to return a Result. See discussion
about panics in #1747.
2021-07-29 08:26:18 +02:00
..
2021-03-07 14:59:10 +01:00
2021-03-07 14:59:10 +01:00