aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorSteffen Lyngbaek <[email protected]>2020-03-10 18:21:56 +0000
committerSteffen Lyngbaek <[email protected]>2020-03-10 21:36:01 +0000
commitcfb48df149bfa8a15b113b1a252598457a4ea392 (patch)
tree8672e75715e2def7963e6250700125b17f233009 /editors/code
parente98aff109a1c4bda6a05f16981898425c302aa0c (diff)
Address Issues from Github
- Updated naming of config - Define struct in ra_ide and use remote derive in rust-analyzer/config - Make inlayConfig type more flexible to support more future types - Remove constructor only used in tests
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/config.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 5acce0752..b26bf10da 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -27,7 +27,9 @@ export class Config {
27 private static readonly requiresReloadOpts = [ 27 private static readonly requiresReloadOpts = [
28 "cargoFeatures", 28 "cargoFeatures",
29 "cargo-watch", 29 "cargo-watch",
30 "highlighting.semanticTokens" 30 "highlighting.semanticTokens",
31 "inlayHintOpts.maxLength",
32 "inlayHintOpts.displayType",
31 ] 33 ]
32 .map(opt => `${Config.rootSection}.${opt}`); 34 .map(opt => `${Config.rootSection}.${opt}`);
33 35