keymap_editor: Move OpenKeymapEditor action into zed_actions (#37928)
This lets us remove title_bar's dependency on keymap_editor, which in turns improves dev build times by ~0.5s for me Release Notes: - N/A
This commit is contained in:
@@ -37,6 +37,7 @@ use workspace::{
|
||||
};
|
||||
|
||||
pub use ui_components::*;
|
||||
use zed_actions::OpenKeymapEditor;
|
||||
|
||||
use crate::{
|
||||
persistence::KEYBINDING_EDITORS,
|
||||
@@ -48,14 +49,6 @@ use crate::{
|
||||
|
||||
const NO_ACTION_ARGUMENTS_TEXT: SharedString = SharedString::new_static("<no arguments>");
|
||||
|
||||
actions!(
|
||||
zed,
|
||||
[
|
||||
/// Opens the keymap editor.
|
||||
OpenKeymapEditor
|
||||
]
|
||||
);
|
||||
|
||||
actions!(
|
||||
keymap_editor,
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user