diff options
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/theme.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs index a5dc0609..6ca021a9 100644 --- a/helix-view/src/theme.rs +++ b/helix-view/src/theme.rs @@ -151,7 +151,7 @@ impl Theme { pub fn get(&self, scope: &str) -> Style { self.try_get(scope) - .unwrap_or_else(|| Style::default().fg(Color::Rgb(0, 0, 255))) + .unwrap_or_default() } pub fn try_get(&self, scope: &str) -> Option<Style> { |