pub struct CodeIndentConfig {
pub disabled: bool,
pub tab_size: Option<usize>,
pub escape_with_arrows: bool,
}Expand description
CodeIndentConfig.
Fields§
§disabled: booldisabled: the indent commands aren’t registered.
tab_size: Option<usize>tabSize: how many leading spaces of a line outdenting
removes as one level; None (the default) removes only
tabs.
escape_with_arrows: boolescapeWithArrows: the arrow keys leave a code block with
nothing around it.
Trait Implementations§
Source§impl Clone for CodeIndentConfig
impl Clone for CodeIndentConfig
Source§impl ExtensionConfigBase for CodeIndentConfig
impl ExtensionConfigBase for CodeIndentConfig
Source§type Partial = CodeIndentConfigOverrides
type Partial = CodeIndentConfigOverrides
Partial<Config>.Source§fn shallow_merge(&self, overrides: &CodeIndentConfigOverrides) -> Self
fn shallow_merge(&self, overrides: &CodeIndentConfigOverrides) -> Self
{...config, ...overrides}, or the config itself when no override
differs from it (see shallow_merge_config).Auto Trait Implementations§
impl Forget for CodeIndentConfig
impl Freeze for CodeIndentConfig
impl Move for CodeIndentConfig
impl RefUnwindSafe for CodeIndentConfig
impl Send for CodeIndentConfig
impl Sync for CodeIndentConfig
impl Unpin for CodeIndentConfig
impl UnsafeUnpin for CodeIndentConfig
impl UnwindSafe for CodeIndentConfig
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