Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

assistant: Remove meta description from quote selection tooltip (#16412)

Danilo Leal7c268d0c6dcf
diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs
index 5b752e083b3..ac7f31f3964 100644
--- a/crates/assistant/src/assistant_panel.rs
+++ b/crates/assistant/src/assistant_panel.rs
@@ -3745,17 +3745,15 @@ impl Render for ContextEditor {
})
.tooltip(move |cx| {
cx.new_view(|cx| {
- Tooltip::new("Insert Selection")
- .meta("Press to quote via keyboard")
- .key_binding(focus_handle.as_ref().and_then(
- |handle| {
- KeyBinding::for_action_in(
- &QuoteSelection,
- &handle,
- cx,
- )
- },
- ))
+ Tooltip::new("Insert Selection").key_binding(
+ focus_handle.as_ref().and_then(|handle| {
+ KeyBinding::for_action_in(
+ &QuoteSelection,
+ &handle,
+ cx,
+ )
+ }),
+ )
})
.into()
}),