Skip to content

Commit 4b7675f

Browse files
bors[bot]lnicola
andauthored
Merge #10442
10442: fix: Limit depth to 1 when searching for `Cargo.toml` r=matklad a=lnicola ...and add `rust-project.json`. More or less fixes #7268 Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 10eaa5a + f5c9204 commit 4b7675f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

editors/code/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
"onCommand:rust-analyzer.analyzerStatus",
6666
"onCommand:rust-analyzer.memoryUsage",
6767
"onCommand:rust-analyzer.reloadWorkspace",
68-
"workspaceContains:**/Cargo.toml"
68+
"workspaceContains:*/Cargo.toml",
69+
"workspaceContains:*/rust-project.json"
6970
],
7071
"main": "./out/main",
7172
"contributes": {

0 commit comments

Comments
 (0)