pub struct Config {
pub tabstop: usize,
pub expand_tab: bool,
pub auto_mount: bool,
pub match_indent: bool,
pub status_timeout: u64,
pub double_click_ms: u64,
pub minibuffer_lines: usize,
pub find_command: String,
pub colorscheme: ColorScheme,
pub tree_sitter: TsConfig,
pub languages: Vec<LangConfig>,
pub keys: KeyBindings,
}
Expand description
Editor level configuration
Fields§
§tabstop: usize
§expand_tab: bool
§auto_mount: bool
§match_indent: bool
§status_timeout: u64
§double_click_ms: u64
§minibuffer_lines: usize
§find_command: String
§colorscheme: ColorScheme
§tree_sitter: TsConfig
§languages: Vec<LangConfig>
§keys: KeyBindings
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.