pub struct VimTheme {Show 15 fields
pub border_focused: Color,
pub border_unfocused: Color,
pub border_insert: Color,
pub editor_bg: Color,
pub line_nr: Color,
pub line_nr_active: Color,
pub visual_bg: Color,
pub visual_fg: Color,
pub dim: Color,
pub accent: Color,
pub search_match_bg: Color,
pub search_current_bg: Color,
pub search_match_fg: Color,
pub yank_highlight_bg: Color,
pub substitute_preview_bg: Color,
}Expand description
Theme colors used by the built-in render module.
Each application maps its own theme struct to VimTheme before calling
render::render().
Fields§
§border_focused: Color§border_unfocused: Color§border_insert: Color§editor_bg: Color§line_nr: Color§line_nr_active: Color§visual_bg: Color§visual_fg: Color§dim: Color§accent: Color§search_match_bg: ColorBackground for search matches (all occurrences).
search_current_bg: ColorBackground for the current search match (where the cursor is).
search_match_fg: ColorForeground for search match text.
yank_highlight_bg: ColorBackground for yank highlight flash.
substitute_preview_bg: ColorBackground for live substitution replacement preview.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VimTheme
impl RefUnwindSafe for VimTheme
impl Send for VimTheme
impl Sync for VimTheme
impl Unpin for VimTheme
impl UnsafeUnpin for VimTheme
impl UnwindSafe for VimTheme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more