From b58fc9c2bc92d453d8d89269bbd2b93c6a2e8f69 Mon Sep 17 00:00:00 2001 From: Chayim Refael Friedman Date: Fri, 7 Mar 2025 00:16:54 +0200 Subject: [PATCH] Mark `rust-analyzer.showSyntaxTree` config option as requiring server restart We register the provider when we start the server. It confused me why I set the option and it didn't work, so probably better to have it hint people. --- src/tools/rust-analyzer/editors/code/src/config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/rust-analyzer/editors/code/src/config.ts b/src/tools/rust-analyzer/editors/code/src/config.ts index 2ae32913452..896b3c10cbf 100644 --- a/src/tools/rust-analyzer/editors/code/src/config.ts +++ b/src/tools/rust-analyzer/editors/code/src/config.ts @@ -27,6 +27,7 @@ export class Config { "server", "files", "cfg", + "showSyntaxTree", ].map((opt) => `${this.rootSection}.${opt}`); private readonly requiresWindowReloadOpts = ["testExplorer"].map(