Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix loading keyfiles
Conrad Irwin0233864e92cf
diff --git a/crates/settings2/src/keymap_file.rs b/crates/settings2/src/keymap_file.rsindex e51bd76e5e0..93635935cbd 100644--- a/crates/settings2/src/keymap_file.rs+++ b/crates/settings2/src/keymap_file.rs@@ -1,7 +1,7 @@use crate::{settings_store::parse_json_with_comments, SettingsAssets};use anyhow::{anyhow, Context, Result};use collections::BTreeMap;-use gpui::{AppContext, KeyBinding, SharedString};+use gpui::{actions, Action, AppContext, KeyBinding, SharedString};use schemars::{gen::{SchemaGenerator, SchemaSettings},schema::{InstanceType, Schema, SchemaObject, SingleOrVec, SubschemaValidation},@@ -137,8 +137,10 @@ impl KeymapFile {}}+actions!(NoAction);+fn no_action() -> Box<dyn gpui::Action> {- todo!()+ NoAction.boxed_clone()}#[cfg(test)]