1
0
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:
Martin Nordholts
2022-05-07 13:43:11 +02:00
committed by GitHub
parent 719248f1c1
commit 7334ab4542
13 changed files with 56 additions and 21 deletions

View File

@@ -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;