rust/crates/rust-analyzer
bors[bot] 818aeb8a24
Merge #5467
5467: Allow null or empty values for configuration r=matklad a=kjeremy

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 

Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-07-21 09:41:54 +00:00
..
src Merge #5467 2020-07-21 09:41:54 +00:00
test_data Mark machine applicable fixes as preferred 2020-07-16 10:51:25 -04:00
tests/heavy_tests Mark machine applicable fixes as preferred 2020-07-16 10:51:25 -04:00
build.rs
Cargo.toml Simplify exclusion logic 2020-07-18 16:40:10 +02:00