Rename settings::register_setting -> settings::register
This commit is contained in:
parent
2d5f03e148
commit
258723566f
12 changed files with 12 additions and 12 deletions
|
@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize};
|
|||
use std::{num::NonZeroU32, path::Path, sync::Arc};
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
settings::register_setting::<AllLanguageSettings>(cx);
|
||||
settings::register::<AllLanguageSettings>(cx);
|
||||
}
|
||||
|
||||
pub fn language_settings<'a>(language: Option<&str>, cx: &'a AppContext) -> &'a LanguageSettings {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue