From cfb48df149bfa8a15b113b1a252598457a4ea392 Mon Sep 17 00:00:00 2001 From: Steffen Lyngbaek Date: Tue, 10 Mar 2020 11:21:56 -0700 Subject: 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 --- editors/code/src/config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editors') 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 { private static readonly requiresReloadOpts = [ "cargoFeatures", "cargo-watch", - "highlighting.semanticTokens" + "highlighting.semanticTokens", + "inlayHintOpts.maxLength", + "inlayHintOpts.displayType", ] .map(opt => `${Config.rootSection}.${opt}`); -- cgit v1.2.3