From a22ed24eb0b20f05ab60a877511e37bd8c4f03a4 Mon Sep 17 00:00:00 2001 From: Jonas Maier <> Date: Sat, 23 May 2026 16:25:54 +0200 Subject: allow syntax highlighting to be enabled or disabled --- src/syntax_highlighting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syntax_highlighting.rs') diff --git a/src/syntax_highlighting.rs b/src/syntax_highlighting.rs index b76aa4b..1a6e626 100644 --- a/src/syntax_highlighting.rs +++ b/src/syntax_highlighting.rs @@ -18,7 +18,7 @@ pub enum SetColorError { impl Highlighter { pub fn new() -> Self { let mut this = Self { - enabled: true, + enabled: false, colors: HashMap::new(), }; let mut sc = |a: &str, b: &str| this.set_color(a.as_bytes(), b.as_bytes()).unwrap(); -- cgit v1.2.3