mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-11 07:42:35 +01:00
Bump to syntect 5.0.0 to e.g. start lazy-loading syntaxes (#2181)
* Bump to syntect 5.0.0 to e.g. start lazy-loading themes Closes #915 Closes #951 Closes #1846 Closes #1854 * Typo fix formated -> formatted * Update CHANGELOG.md
This commit is contained in:
@@ -453,7 +453,7 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
||||
|
||||
let mut highlighted_line = highlighter_from_set
|
||||
.highlighter
|
||||
.highlight(for_highlighting, highlighter_from_set.syntax_set);
|
||||
.highlight_line(for_highlighting, highlighter_from_set.syntax_set)?;
|
||||
|
||||
if too_long {
|
||||
highlighted_line[0].1 = &line;
|
||||
|
Reference in New Issue
Block a user