Bump lsp-types

This commit is contained in:
Laurențiu Nicola 2022-02-09 09:22:25 +02:00
parent c8f056a6db
commit 50a1319f46
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View file

@ -888,9 +888,9 @@ dependencies = [
[[package]]
name = "lsp-types"
version = "0.91.1"
version = "0.92.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2368312c59425dd133cb9a327afee65be0a633a8ce471d248e2202a48f8f68ae"
checksum = "e8a69d4142d51b208c9fc3cea68b1a7fcef30354e7aa6ccad07250fd8430fc76"
dependencies = [
"bitflags",
"serde",

View file

@ -22,7 +22,7 @@ anyhow = "1.0.26"
crossbeam-channel = "0.5.0"
dissimilar = "1.0.2"
itertools = "0.10.0"
lsp-types = { version = "0.91", features = ["proposed"] }
lsp-types = { version = "0.92", features = ["proposed"] }
parking_lot = "0.12"
xflags = "0.2.1"
oorandom = "11.1.2"

View file

@ -455,7 +455,7 @@ impl GlobalState {
// Refresh semantic tokens if the client supports it.
if self.config.semantic_tokens_refresh() {
self.semantic_tokens_cache.lock().clear();
self.send_request::<lsp_types::request::SemanticTokensRefesh>((), |_, _| ());
self.send_request::<lsp_types::request::SemanticTokensRefresh>((), |_, _| ());
}
// Refresh code lens if the client supports it.