Add default scan excluded files settings

This commit is contained in:
Kirill Bulatov 2023-11-14 22:55:06 +02:00
parent c52fe2f536
commit 26f7e66b49
4 changed files with 15 additions and 3 deletions

View file

@ -910,7 +910,7 @@ async fn test_ignore_inclusions_and_exclusions(cx: &mut TestAppContext) {
cx.update_global::<SettingsStore, _, _>(|store, cx| {
store.update_user_settings::<ProjectSettings>(cx, |project_settings| {
project_settings.scan_exclude_files =
vec!["**/foo/**".to_string(), "**/.DS_Store".to_string()];
Some(vec!["**/foo/**".to_string(), "**/.DS_Store".to_string()]);
});
});
});