Rename settings::register_setting -> settings::register

This commit is contained in:
Max Brunsfeld 2023-05-17 15:06:11 -07:00
parent 2d5f03e148
commit 258723566f
12 changed files with 12 additions and 12 deletions

View file

@ -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);
});