Define editor settings in editor crate
This commit is contained in:
parent
39618ae32d
commit
65e3713d4d
13 changed files with 93 additions and 54 deletions
|
@ -1281,11 +1281,13 @@ pub mod tests {
|
|||
cx.update(|cx| {
|
||||
cx.set_global(SettingsStore::test(cx));
|
||||
cx.set_global(ActiveSearches::default());
|
||||
|
||||
let mut settings = Settings::test(cx);
|
||||
settings.theme = Arc::new(theme);
|
||||
cx.set_global(settings);
|
||||
|
||||
language::init(cx);
|
||||
editor::init_settings(cx);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue