aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 69cea60..5506d0e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -65,7 +65,7 @@ use syntect::highlighting;
use syntect::parsing;
static SYNTAXES: LazyLock<parsing::SyntaxSet> =
- LazyLock::new(parsing::SyntaxSet::load_defaults_nonewlines);
+ LazyLock::new(two_face::syntax::extra_no_newlines);
const LINES_PER_SNAPSHOT: usize = 50;