diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-13 13:39:24 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-13 13:39:24 +0000 |
commit | bebf51e4c0050e7857cb66ddfa8825cfa96d8835 (patch) | |
tree | f34e7fe4dd0195eb97d01805e23593959d6f2846 | |
parent | 97a87bf3a68338b1acc2b7a02dfa43096bf47e05 (diff) | |
parent | 6ef614f78558aaa30c42aed3503d350e174df5b9 (diff) |
Merge #969
969: activate extension if Cargo.toml is present r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | editors/code/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 0a1e84b4a..3834f2847 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -46,7 +46,8 @@ | |||
46 | "activationEvents": [ | 46 | "activationEvents": [ |
47 | "onLanguage:rust", | 47 | "onLanguage:rust", |
48 | "onCommand:rust-analyzer.analyzerStatus", | 48 | "onCommand:rust-analyzer.analyzerStatus", |
49 | "onCommand:rust-analyzer.collectGarbage" | 49 | "onCommand:rust-analyzer.collectGarbage", |
50 | "workspaceContains:**/Cargo.toml" | ||
50 | ], | 51 | ], |
51 | "main": "./out/extension", | 52 | "main": "./out/extension", |
52 | "contributes": { | 53 | "contributes": { |