diff options
author | Martà Homs Soler <martihomssoler@gmail.com> | 2024-03-27 14:57:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 13:57:37 +0000 |
commit | 3b7b443e2a2cbf1f8b7d304d4ca4c294da02c272 (patch) | |
tree | becb66ec98c4428b48238af5370d8696c3c72694 /src | |
parent | 5fafe784d1265c6bb5fc5526256c6f7d3eb2c48a (diff) |
syntect additional file type support (#2160)
closes #2005
Co-authored-by: MHS <mhs@histolution.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/syntax_text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/syntax_text.rs b/src/ui/syntax_text.rs index 776196ed..fba036e7 100644 --- a/src/ui/syntax_text.rs +++ b/src/ui/syntax_text.rs @@ -33,7 +33,7 @@ pub struct SyntaxText { } static SYNTAX_SET: Lazy<SyntaxSet> = - Lazy::new(SyntaxSet::load_defaults_nonewlines); + Lazy::new(two_face::syntax::extra_no_newlines); static THEME_SET: Lazy<ThemeSet> = Lazy::new(ThemeSet::load_defaults); pub struct AsyncProgressBuffer { |