Automate settings registration (#42238)
Release Notes: - N/A --------- Co-authored-by: Nia <nia@zed.dev>
This commit is contained in:
@@ -310,13 +310,7 @@ pub enum HideMouseCursorOrigin {
|
||||
MovementAction,
|
||||
}
|
||||
|
||||
pub fn init_settings(cx: &mut App) {
|
||||
EditorSettings::register(cx);
|
||||
}
|
||||
|
||||
pub fn init(cx: &mut App) {
|
||||
init_settings(cx);
|
||||
|
||||
cx.set_global(GlobalBlameRenderer(Arc::new(())));
|
||||
|
||||
workspace::register_project_item::<Editor>(cx);
|
||||
|
||||
Reference in New Issue
Block a user