summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartí Homs Soler <martihomssoler@gmail.com>2024-03-27 14:57:37 +0100
committerGitHub <noreply@github.com>2024-03-27 13:57:37 +0000
commit3b7b443e2a2cbf1f8b7d304d4ca4c294da02c272 (patch)
treebecb66ec98c4428b48238af5370d8696c3c72694 /src
parent5fafe784d1265c6bb5fc5526256c6f7d3eb2c48a (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.rs2
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 {