mirror of https://github.com/helix-editor/helix
Annotate Theme::highlight with #[inline]
parent
259678585c
commit
662ecf0cd4
|
@ -132,6 +132,7 @@ impl<'de> Deserialize<'de> for Theme {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Theme {
|
impl Theme {
|
||||||
|
#[inline]
|
||||||
pub fn highlight(&self, index: usize) -> Style {
|
pub fn highlight(&self, index: usize) -> Style {
|
||||||
self.highlights[index]
|
self.highlights[index]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue