From 6bf4fc27d923207df36d06da295d815d768f3a0b Mon Sep 17 00:00:00 2001 From: kjeremy Date: Tue, 19 May 2020 11:56:51 -0400 Subject: 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. --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index c06236692..5ce35c5b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -658,9 +658,9 @@ dependencies = [ [[package]] name = "lsp-server" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5383e043329615624bbf45e1ba27bd75c176762b2592855c659bc28ac580a06b" +checksum = "dccec31bfd027ac0dd288a78e19005fd89624d9099456e284b5241316a6c3072" dependencies = [ "crossbeam-channel", "log", -- cgit v1.2.3