- filters: vec![FileOperationFilter {
- scheme: Some(String::from("file")),
- pattern: FileOperationPattern {
- glob: String::from("**/*.rs"),
- matches: Some(FileOperationPatternKind::File),
- options: None,
- },
- }],
+ filters: vec![
+ FileOperationFilter {
+ scheme: Some(String::from("file")),
+ pattern: FileOperationPattern {
+ glob: String::from("**/*.rs"),
+ matches: Some(FileOperationPatternKind::File),
+ options: None,
+ },
+ FileOperationFilter {
+ scheme: Some(String::from("untitled")),
+ pattern: FileOperationPattern {
+ glob: String::from("**"),
+ matches: Some(FileOperationPatternKind::Folder),
+ options: None,
+ },
+ }],