From 5a0cee3ff53a601caa89341901b142bc9de0f963 Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 28 Feb 2025 00:23:31 +0100 Subject: feat: add extra syntaxes with `two-face` --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 = - LazyLock::new(parsing::SyntaxSet::load_defaults_nonewlines); + LazyLock::new(two_face::syntax::extra_no_newlines); const LINES_PER_SNAPSHOT: usize = 50; -- cgit v1.2.3