summaryrefslogtreecommitdiff
path: root/library/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-15 09:52:08 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-15 09:52:08 +0100
commit942fa6636d34a70dcd3d1dfe91a81ea6893f481e (patch)
tree1b336e569e1548d740bf92bc07e8debba965ce3f /library/src
parent618beb1ac1cd04b203654d5a019c0ed04e4c26cb (diff)
Fix raw block highlighting
Diffstat (limited to 'library/src')
-rw-r--r--library/src/text/raw.rs2
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 {