aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers/replace_let_with_if_let.rs
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-05-19 16:56:51 +0100
committerkjeremy <[email protected]>2020-05-19 16:56:51 +0100
commit6bf4fc27d923207df36d06da295d815d768f3a0b (patch)
tree7c7e3de3ca91efd1d15b51d8102f5e226c055c7c /crates/ra_assists/src/handlers/replace_let_with_if_let.rs
parent5c1c23ecc7c94fae0948abe8af7a700e42e20921 (diff)
LSP: Two stage initialization
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.
Diffstat (limited to 'crates/ra_assists/src/handlers/replace_let_with_if_let.rs')
0 files changed, 0 insertions, 0 deletions