diff --git a/crates/settings/src/base_keymap_setting.rs b/crates/settings/src/base_keymap_setting.rs index 1b41dc0d4f7db6a907de9586d5c4ceb796d00165..638cf3622b3f479cde0515ae187fe1d244813f61 100644 --- a/crates/settings/src/base_keymap_setting.rs +++ b/crates/settings/src/base_keymap_setting.rs @@ -130,6 +130,12 @@ impl BaseKeymap { } } +#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema, PartialEq, Eq, Default)] +#[skip_serializing_none] +pub struct BaseKeymapSetting { + pub base_keymap: Option, +} + impl Settings for BaseKeymap { fn from_settings(s: &crate::settings_content::SettingsContent, _cx: &mut App) -> Self { s.base_keymap.unwrap().into()