about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-07-21 09:41:54 +0000
committerGitHub <noreply@github.com>2020-07-21 09:41:54 +0000
commit818aeb8a242bba5d8947ce2960e1af27d998f4fc (patch)
treef61bb82640fd05d1e62cb614ed51cb52eb471ff8 /docs/dev
parent2ad5bf8d17389e6711be65200ef918762eba9fdc (diff)
parenta32dd9c478fec0c21fa7416c267bdf1d2416b355 (diff)
downloadrust-818aeb8a242bba5d8947ce2960e1af27d998f4fc.tar.gz
rust-818aeb8a242bba5d8947ce2960e1af27d998f4fc.zip
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>
Diffstat (limited to 'docs/dev')
0 files changed, 0 insertions, 0 deletions