mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 20:35:09 +00:00
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": [
|
"activationEvents": [
|
||||||
"onLanguage:rust",
|
"onLanguage:rust",
|
||||||
"onCommand:rust-analyzer.analyzerStatus",
|
"onCommand:rust-analyzer.analyzerStatus",
|
||||||
"onCommand:rust-analyzer.collectGarbage"
|
"onCommand:rust-analyzer.collectGarbage",
|
||||||
|
"workspaceContains:**/Cargo.toml"
|
||||||
],
|
],
|
||||||
"main": "./out/extension",
|
"main": "./out/extension",
|
||||||
"contributes": {
|
"contributes": {
|
||||||
|
|
Loading…
Reference in a new issue