diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-03-07 00:16:54 +0200 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-03-07 00:16:54 +0200 |
| commit | b58fc9c2bc92d453d8d89269bbd2b93c6a2e8f69 (patch) | |
| tree | d99fd21be68f2f39e5dccadaa5f5d2ea5b2fd146 /src/tools/rust-analyzer/editors/code | |
| parent | 6a3ede12405d2f167d23609b081d11b7e3cc1036 (diff) | |
| download | rust-b58fc9c2bc92d453d8d89269bbd2b93c6a2e8f69.tar.gz rust-b58fc9c2bc92d453d8d89269bbd2b93c6a2e8f69.zip | |
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.
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
| -rw-r--r-- | src/tools/rust-analyzer/editors/code/src/config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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( |
