Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix compile errors
Antonio Scandurracf934ab696ee
diff --git a/assets/keymaps/default.json b/assets/keymaps/default.jsonindex f58e3c7cce7..41087326d27 100644--- a/assets/keymaps/default.json+++ b/assets/keymaps/default.json@@ -185,7 +185,8 @@],"alt-\\": "copilot::Suggest","alt-]": "copilot::NextSuggestion",- "alt-[": "copilot::PreviousSuggestion"+ "alt-[": "copilot::PreviousSuggestion",+ "cmd->": "assistant::QuoteSelection"}},{@@ -199,8 +200,7 @@"context": "ContextEditor > Editor","bindings": {"cmd-enter": "assistant::Assist",- "escape": "assistant::CancelLastAssist",- "cmd-?": "assistant::QuoteSelection"+ "cmd->": "assistant::QuoteSelection"}},{diff --git a/crates/ai/src/assistant.rs b/crates/ai/src/assistant.rsindex 6e76e46c610..38b64587a5e 100644--- a/crates/ai/src/assistant.rs+++ b/crates/ai/src/assistant.rs@@ -19,10 +19,7 @@ use workspace::{pane, Pane, Workspace,};-actions!(- assistant,- [NewContext, Assist, CancelLastAssist, QuoteSelection]-);+actions!(assistant, [NewContext, Assist, QuoteSelection]);pub fn init(cx: &mut AppContext) {cx.add_action(AssistantEditor::assist);@@ -69,6 +66,7 @@ impl AssistantPanel {.with_child(Pane::render_tab_bar_button(0,"icons/plus_12.svg",+ false,Some(("New Context".into(), Some(Box::new(NewContext)))),cx,move |_, _| todo!(),@@ -81,6 +79,7 @@ impl AssistantPanel {} else {"icons/maximize_8.svg"},+ pane.is_zoomed(),Some(("Toggle Zoom".into(),Some(Box::new(workspace::ToggleZoom)),diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex a3601f3c589..ee064430682 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -31,6 +31,7 @@ use copilot::Copilot;pub use display_map::DisplayPoint;use display_map::*;pub use editor_settings::EditorSettings;+pub use element::RenderExcerptHeaderParams;pub use element::{Cursor, EditorElement, HighlightedRange, HighlightedRangeLine, LineWithInvisibles,};