diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs index 2366ff7d1..47fc6262f 100644 --- a/helix-view/src/theme.rs +++ b/helix-view/src/theme.rs @@ -132,6 +132,7 @@ fn deserialize(deserializer: D) -> Result } impl Theme { + #[inline] pub fn highlight(&self, index: usize) -> Style { self.highlights[index] }