diff options
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/text/raw.rs b/library/src/text/raw.rs index aa3a10d7..225c257d 100644 --- a/library/src/text/raw.rs +++ b/library/src/text/raw.rs @@ -281,7 +281,7 @@ fn to_syn(RgbaColor { r, g, b, a }: RgbaColor) -> synt::Color { /// The syntect syntax definitions. static SYNTAXES: Lazy<syntect::parsing::SyntaxSet> = - Lazy::new(|| syntect::parsing::SyntaxSet::load_defaults_newlines()); + Lazy::new(|| syntect::parsing::SyntaxSet::load_defaults_nonewlines()); /// The default theme used for syntax highlighting. pub static THEME: Lazy<synt::Theme> = Lazy::new(|| synt::Theme { |
