diff options
| author | pml68 <contact@pml68.dev> | 2025-02-28 00:23:31 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-02-28 00:23:31 +0100 |
| commit | 5a0cee3ff53a601caa89341901b142bc9de0f963 (patch) | |
| tree | 74c1c312850376a8a43410b0785b98145663b16a /src | |
| parent | feat: add `Stream` highlighter from upstream (diff) | |
| download | iced_custom_highlighter-5a0cee3ff53a601caa89341901b142bc9de0f963.tar.gz | |
feat: add extra syntaxes with `two-face`
Diffstat (limited to '')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
