Properly reload changed configs for server start

This commit is contained in:
Lukas Wirth 2022-10-17 14:53:46 +02:00
parent 6f435977df
commit 8aaafddee8
4 changed files with 51 additions and 57 deletions

View file

@ -14,8 +14,6 @@ export class Config {
readonly rootSection = "rust-analyzer";
private readonly requiresWorkspaceReloadOpts = [
"serverPath",
"server",
// FIXME: This shouldn't be here, changing this setting should reload
// `continueCommentsOnNewline` behavior without restart
"typing",
@ -23,6 +21,8 @@ export class Config {
private readonly requiresReloadOpts = [
"cargo",
"procMacro",
"serverPath",
"server",
"files",
"lens", // works as lens.*
]