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

No files matched your search

+1 -1
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;