mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 03:14:30 +00:00
Properly reload changed configs for server start
This commit is contained in:
parent
6f435977df
commit
8aaafddee8
4 changed files with 51 additions and 57 deletions
|
@ -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.*
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue