diff options
| author | Jonas Maier <> | 2026-05-23 16:25:54 +0200 |
|---|---|---|
| committer | Jonas Maier <> | 2026-05-23 16:25:54 +0200 |
| commit | a22ed24eb0b20f05ab60a877511e37bd8c4f03a4 (patch) | |
| tree | 548b94aa6453f4de83b916fd15c0c59e3905f94b /src/syntax_highlighting.rs | |
| parent | e4c0fc7beab2a6dd53210263a857f2b3ec29b604 (diff) | |
| download | pish-a22ed24eb0b20f05ab60a877511e37bd8c4f03a4.tar.gz | |
allow syntax highlighting to be enabled or disabled
Diffstat (limited to 'src/syntax_highlighting.rs')
| -rw-r--r-- | src/syntax_highlighting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
