aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_vfs/src/lib.rs')
-rw-r--r--crates/ra_vfs/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs
index 4f3896a82..bcff7928b 100644
--- a/crates/ra_vfs/src/lib.rs
+++ b/crates/ra_vfs/src/lib.rs
@@ -61,7 +61,7 @@ pub(crate) fn default_filter(path: &Path, rel_path: &RelativePath) -> bool {
61 if path.is_dir() { 61 if path.is_dir() {
62 for (i, c) in rel_path.components().enumerate() { 62 for (i, c) in rel_path.components().enumerate() {
63 if let Component::Normal(c) = c { 63 if let Component::Normal(c) = c {
64 // hardcoded for now 64 // TODO hardcoded for now
65 if (i == 0 && c == "target") || c == ".git" || c == "node_modules" { 65 if (i == 0 && c == "target") || c == ".git" || c == "node_modules" {
66 return false; 66 return false;
67 } 67 }