Include toml files in the vfs

This commit is contained in:
Laurențiu Nicola 2023-11-12 16:45:47 +02:00
parent 1152f593b3
commit bad3d9e766

View File

@ -208,6 +208,7 @@ pub fn new(workspaces: &[ProjectWorkspace], global_excludes: &[AbsPathBuf]) -> P
let entry = { let entry = {
let mut dirs = vfs::loader::Directories::default(); let mut dirs = vfs::loader::Directories::default();
dirs.extensions.push("rs".into()); dirs.extensions.push("rs".into());
dirs.extensions.push("toml".into());
dirs.include.extend(root.include); dirs.include.extend(root.include);
dirs.exclude.extend(root.exclude); dirs.exclude.extend(root.exclude);
for excl in global_excludes { for excl in global_excludes {