Skip to content

Commit b58fc9c

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 6a3ede1 commit b58fc9c

File tree

1 file changed

+1
-0
lines changed
  • src/tools/rust-analyzer/editors/code/src

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/editors/code/src/config.ts

Lines changed: 1 addition & 0 deletions
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)