aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/config.ts
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-06-03 12:15:54 +0100
committervsrs <[email protected]>2020-06-05 12:59:26 +0100
commit7d0dd17b09240385333805637ea17992a8089cf2 (patch)
tree605249f14a8d7c8071362e31be28ca9c17b55173 /editors/code/src/config.ts
parent913a623281ed4cd190ca04845c64e5054d176a2a (diff)
Add hover actions as LSP extension
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts13
1 files changed, 9 insertions, 4 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index e8abf8284..d8f0037d4 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -16,10 +16,8 @@ export class Config {
16 "files", 16 "files",
17 "highlighting", 17 "highlighting",
18 "updates.channel", 18 "updates.channel",
19 "lens.enable", 19 "lens", // works as lens.*
20 "lens.run", 20 "hoverActions", // works as hoverActions.*
21 "lens.debug",
22 "lens.implementations",
23 ] 21 ]
24 .map(opt => `${this.rootSection}.${opt}`); 22 .map(opt => `${this.rootSection}.${opt}`);
25 23
@@ -132,4 +130,11 @@ export class Config {
132 implementations: this.get<boolean>("lens.implementations"), 130 implementations: this.get<boolean>("lens.implementations"),
133 }; 131 };
134 } 132 }
133
134 get hoverActions() {
135 return {
136 enable: this.get<boolean>("hoverActions.enable"),
137 implementations: this.get<boolean>("hoverActions.implementations"),
138 };
139 }
135} 140}