storybook: Fix auto_height_editor
story (#27653)
This is a fix for this error when trying to run `auto_height_editor` story: ```sh thread 'main' panicked at C:\Users\x\dev\zed\crates\settings\src\settings_store.rs:363:32: unregistered setting type workspace::workspace_settings::WorkspaceSettings ``` Release Notes: - N/A
This commit is contained in:
parent
1a4ba59d4e
commit
a201263448
3 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,7 @@ use simplelog::SimpleLogger;
|
|||
use strum::IntoEnumIterator;
|
||||
use theme::{ThemeRegistry, ThemeSettings};
|
||||
use ui::prelude::*;
|
||||
use workspace;
|
||||
|
||||
use crate::app_menus::app_menus;
|
||||
use crate::assets::Assets;
|
||||
|
@ -83,6 +84,7 @@ fn main() {
|
|||
language::init(cx);
|
||||
editor::init(cx);
|
||||
Project::init_settings(cx);
|
||||
workspace::init_settings(cx);
|
||||
init(cx);
|
||||
load_storybook_keymap(cx);
|
||||
cx.set_menus(app_menus());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue