Skip to content

Conversation

kjeremy
Copy link
Contributor

@kjeremy kjeremy commented Jul 20, 2020

Allow the client to respond to workspace/configuration with null values. This is allowed per the spec if the client doesn't know about the configuration we've requested.

This also protects against null or {} during initialize. I'm not sure if we want to interpret {} as "don't change anything" but I think that's a reasonable approach to take.

This should help with LSP clients working out of the box.

Fixes #5464

kjeremy added 2 commits July 20, 2020 17:42
This is allowed per the spec if the client doesn't know about the configuration
we've requested.
@matklad
Copy link
Contributor

matklad commented Jul 21, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Jul 21, 2020

@bors bors bot merged commit 818aeb8 into rust-lang:master Jul 21, 2020
@kjeremy kjeremy deleted the null-configuration branch July 21, 2020 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No diagnostics after the client responds to workspace/configuration
2 participants