Skip to content

Commit 0afa5e8

Browse files
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.
1 parent bd0289e commit 0afa5e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editors/code/src/config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export class Config {
2727
"server",
2828
"files",
2929
"cfg",
30+
"showSyntaxTree",
3031
].map((opt) => `${this.rootSection}.${opt}`);
3132

3233
private readonly requiresWindowReloadOpts = ["testExplorer"].map(

0 commit comments

Comments
 (0)