Limit depth to 1 when searching for Cargo.toml

This commit is contained in:
Laurențiu Nicola 2021-10-03 17:42:45 +03:00
parent 10eaa5a0af
commit f5c9204ff2

View File

@ -65,7 +65,8 @@
"onCommand:rust-analyzer.analyzerStatus",
"onCommand:rust-analyzer.memoryUsage",
"onCommand:rust-analyzer.reloadWorkspace",
"workspaceContains:**/Cargo.toml"
"workspaceContains:*/Cargo.toml",
"workspaceContains:*/rust-project.json"
],
"main": "./out/main",
"contributes": {