diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-22 14:12:57 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-22 14:12:57 +0100 |
commit | 5aa3a4c04fa69a44285f26646369dec8d010d063 (patch) | |
tree | bf6e3487e322704a5c042ace5f184d4a9a9161b1 /crates/ra_hir_ty/src/autoderef.rs | |
parent | 90332ca21901e1101154462053b50e5d2743a21c (diff) | |
parent | acc5e8d64b9b3d75798407d4ea4a6ba39d96eb60 (diff) |
Merge #4516
4516: LSP: Two stage initialization r=kjeremy a=kjeremy
Fills in server information.
Derives CodeAction capabilities from the client. If code action literals
are unsupported we fall back to the "simple support" which just sends back
commands (this is already supported in our config). The difference being
that we did not adjust our server capabilities so that if the client was
checking for `CodeActionProvider: "true"` in the response that would have failed.
Part of #144
Fixes #4130 (the specific case called out in that issue)
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_hir_ty/src/autoderef.rs')
0 files changed, 0 insertions, 0 deletions