diff --git a/src/editor/style.rs b/src/editor/style.rs index 6870482..f673a06 100644 --- a/src/editor/style.rs +++ b/src/editor/style.rs @@ -54,7 +54,7 @@ impl Style { pub fn special(&self, default_colors: &Colors) -> Color4f { self.colors .special - .unwrap_or_else(|| default_colors.special.unwrap()) + .unwrap_or_else(|| self.foreground(default_colors)) } }