Rename LanguageSettings -> EditorSettings
This commit is contained in:
parent
ec8a493700
commit
c02f4ea8dc
5 changed files with 32 additions and 29 deletions
|
@ -93,7 +93,7 @@ pub async fn watch_keymap_file(
|
|||
mod tests {
|
||||
use super::*;
|
||||
use project::FakeFs;
|
||||
use settings::{LanguageSettings, SoftWrap};
|
||||
use settings::{EditorSettings, SoftWrap};
|
||||
|
||||
#[gpui::test]
|
||||
async fn test_settings_from_files(cx: &mut gpui::TestAppContext) {
|
||||
|
@ -128,7 +128,7 @@ mod tests {
|
|||
|
||||
let settings = cx.read(Settings::test).with_language_defaults(
|
||||
"JavaScript",
|
||||
LanguageSettings {
|
||||
EditorSettings {
|
||||
tab_size: Some(2.try_into().unwrap()),
|
||||
..Default::default()
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue