aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax_highlighting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax_highlighting.rs')
-rw-r--r--src/syntax_highlighting.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/syntax_highlighting.rs b/src/syntax_highlighting.rs
index 22a8c3e..f58d4a0 100644
--- a/src/syntax_highlighting.rs
+++ b/src/syntax_highlighting.rs
@@ -155,3 +155,9 @@ impl Highlighter {
Ok(())
}
}
+
+impl Default for Highlighter {
+ fn default() -> Self {
+ Self::new()
+ }
+}