aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax_highlighting.rs
diff options
context:
space:
mode:
authorJonas Maier <>2026-05-23 16:25:54 +0200
committerJonas Maier <>2026-05-23 16:25:54 +0200
commita22ed24eb0b20f05ab60a877511e37bd8c4f03a4 (patch)
tree548b94aa6453f4de83b916fd15c0c59e3905f94b /src/syntax_highlighting.rs
parente4c0fc7beab2a6dd53210263a857f2b3ec29b604 (diff)
downloadpish-a22ed24eb0b20f05ab60a877511e37bd8c4f03a4.tar.gz
allow syntax highlighting to be enabled or disabled
Diffstat (limited to 'src/syntax_highlighting.rs')
-rw-r--r--src/syntax_highlighting.rs2
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();