]> git.lizzy.rs Git - rust.git/commit
fix: make signature info response conform to spec
authorAlex Muscar <alex@muscar.eu>
Mon, 11 Oct 2021 19:42:16 +0000 (20:42 +0100)
committerAlex Muscar <alex@muscar.eu>
Mon, 11 Oct 2021 19:42:16 +0000 (20:42 +0100)
commit41856e2682e9ed3d4ca03f9003504a2ec710b094
treeedee72211061ecfcf662b01840a33568d50932d6
parent4ff0377ed00f95ff3eb9a312d9f56eaee4580f95
fix: make signature info response conform to spec

This addreses
https://github.com/rust-analyzer/rust-analyzer/issues/10464.

This patch picks up `lsp-types` 0.90.1, which serialises the
`SignatureInformation` and `ParameterInformation` with the right casing.
It also adds `activeSignature` field as part of the top-level signature
response. It keeps `activeParameter` at the top-level for backwards
compatibility.
Cargo.lock
crates/rust-analyzer/Cargo.toml
crates/rust-analyzer/src/to_proto.rs