activate extension if Cargo.toml is present
This commit is contained in:
parent
97a87bf3a6
commit
6ef614f785
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@
|
|||
"activationEvents": [
|
||||
"onLanguage:rust",
|
||||
"onCommand:rust-analyzer.analyzerStatus",
|
||||
"onCommand:rust-analyzer.collectGarbage"
|
||||
"onCommand:rust-analyzer.collectGarbage",
|
||||
"workspaceContains:**/Cargo.toml"
|
||||
],
|
||||
"main": "./out/extension",
|
||||
"contributes": {
|
||||
|
|
Loading…
Reference in a new issue