Include toml files in the vfs
This commit is contained in:
parent
1152f593b3
commit
bad3d9e766
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user