aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/theme.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/theme.rs b/helix-view/src/theme.rs
index 2366ff7d..47fc6262 100644
--- a/helix-view/src/theme.rs
+++ b/helix-view/src/theme.rs
@@ -132,6 +132,7 @@ impl<'de> Deserialize<'de> for Theme {
}
impl Theme {
+ #[inline]
pub fn highlight(&self, index: usize) -> Style {
self.highlights[index]
}