From 904fe142389c15852d8b0d821db5a86bceabf4c3 Mon Sep 17 00:00:00 2001 From: Ben Kunkle Date: Thu, 18 Sep 2025 14:26:52 -0500 Subject: [PATCH] Delete `settings_ui_macros` --- crates/settings/src/base_keymap_setting.rs | 6 ++++++ 1 file changed, 6 insertions(+) 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()