diff options
| author | vsrs <vit@conrlab.com> | 2020-05-17 19:51:44 +0300 |
|---|---|---|
| committer | vsrs <vit@conrlab.com> | 2020-05-17 19:51:44 +0300 |
| commit | dc217bdf90d555eaa1780041fc3a14e64173994d (patch) | |
| tree | 547807df99ad67f5be229ccb600610a376189723 /editors/code/src | |
| parent | 71e94b1d0bf7c58aa377513f010fcb3f56081f5f (diff) | |
| download | rust-dc217bdf90d555eaa1780041fc3a14e64173994d.tar.gz rust-dc217bdf90d555eaa1780041fc3a14e64173994d.zip | |
CodeLens configuration options.
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/config.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 1652827c32a..93d9aa16075 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -16,6 +16,9 @@ export class Config { "files", "highlighting", "updates.channel", + "lens.run", + "lens.debug", + "lens.implementations", ] .map(opt => `${this.rootSection}.${opt}`); @@ -119,4 +122,12 @@ export class Config { sourceFileMap: sourceFileMap }; } + + get lens() { + return { + run: this.get<boolean>("lens.run"), + debug: this.get<boolean>("lens.debug"), + implementations: this.get<boolean>("lens.implementations"), + }; + } } |
