diff options
author | Pascal Kuthe | 2023-02-11 06:50:01 +0000 |
---|---|---|
committer | GitHub | 2023-02-11 06:50:01 +0000 |
commit | 93c7afc4ed2b8d848fa2779f43202ba7f837263b (patch) | |
tree | 866e07e173686a41b5f164ee40b63b585037232a /Cargo.lock | |
parent | 6929a12f291fa5dee50cde9c89845b206b7333fd (diff) |
Negotiate LSP Position Encoding (#5894)
So far LSP always required that `PositionEncoding.characters` is an
UTF-16 offset. Now that LSP 3.17 is available in `lsp-types` request
the server to send char offsets (UTF-32) or byte offsets (UTF-8)
instead. For compatability with old servers, UTF-16 remains as the
fallback as required by the standard.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1481,9 +1481,9 @@ dependencies = [ [[package]] name = "lsp-types" -version = "0.93.2" +version = "0.94.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9be6e9c7e2d18f651974370d7aff703f9513e0df6e464fd795660edc77e6ca51" +checksum = "0b63735a13a1f9cd4f4835223d828ed9c2e35c8c5e61837774399f558b6a1237" dependencies = [ "bitflags", "serde", |