Rename settings::register_setting -> settings::register
This commit is contained in:
parent
2d5f03e148
commit
258723566f
12 changed files with 12 additions and 12 deletions
|
@ -7,7 +7,7 @@ use gpui::{executor::Background, AppContext, AssetSource};
|
|||
use std::{borrow::Cow, io::ErrorKind, path::PathBuf, str, sync::Arc, time::Duration};
|
||||
use util::{paths, ResultExt};
|
||||
|
||||
pub fn register_setting<T: Setting>(cx: &mut AppContext) {
|
||||
pub fn register<T: Setting>(cx: &mut AppContext) {
|
||||
cx.update_global::<SettingsStore, _, _>(|store, cx| {
|
||||
store.register_setting::<T>(cx);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue