fix(lsp): add ServerCapabilities::encoding (#16444)

This caused v1.27.0 publishing to fail.
This commit is contained in:
Bartek Iwańczuk 2022-10-27 19:34:44 +02:00 committed by GitHub
parent b0fb8fa9dc
commit c27942fee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

4
Cargo.lock generated
View File

@ -2685,9 +2685,9 @@ dependencies = [
[[package]]
name = "lsp-types"
version = "0.93.1"
version = "0.93.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3bcfee315dde785ba887edb540b08765fd7df75a7d948844be6bf5712246734"
checksum = "9be6e9c7e2d18f651974370d7aff703f9513e0df6e464fd795660edc77e6ca51"
dependencies = [
"bitflags",
"serde",

View File

@ -142,5 +142,6 @@ pub fn server_capabilities(
"testingApi":true,
})),
inlay_hint_provider: Some(OneOf::Left(true)),
position_encoding: None,
}
}