1
Fork 0

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.
This commit is contained in:
Chayim Refael Friedman 2025-03-07 00:16:54 +02:00
parent 6a3ede1240
commit b58fc9c2bc

View file

@ -27,6 +27,7 @@ export class Config {
"server",
"files",
"cfg",
"showSyntaxTree",
].map((opt) => `${this.rootSection}.${opt}`);
private readonly requiresWindowReloadOpts = ["testExplorer"].map(