mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
Bump lsp-types
This commit is contained in:
parent
c8f056a6db
commit
50a1319f46
3 changed files with 4 additions and 4 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -888,9 +888,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lsp-types"
|
name = "lsp-types"
|
||||||
version = "0.91.1"
|
version = "0.92.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2368312c59425dd133cb9a327afee65be0a633a8ce471d248e2202a48f8f68ae"
|
checksum = "e8a69d4142d51b208c9fc3cea68b1a7fcef30354e7aa6ccad07250fd8430fc76"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
"serde",
|
"serde",
|
||||||
|
|
|
@ -22,7 +22,7 @@ anyhow = "1.0.26"
|
||||||
crossbeam-channel = "0.5.0"
|
crossbeam-channel = "0.5.0"
|
||||||
dissimilar = "1.0.2"
|
dissimilar = "1.0.2"
|
||||||
itertools = "0.10.0"
|
itertools = "0.10.0"
|
||||||
lsp-types = { version = "0.91", features = ["proposed"] }
|
lsp-types = { version = "0.92", features = ["proposed"] }
|
||||||
parking_lot = "0.12"
|
parking_lot = "0.12"
|
||||||
xflags = "0.2.1"
|
xflags = "0.2.1"
|
||||||
oorandom = "11.1.2"
|
oorandom = "11.1.2"
|
||||||
|
|
|
@ -455,7 +455,7 @@ impl GlobalState {
|
||||||
// Refresh semantic tokens if the client supports it.
|
// Refresh semantic tokens if the client supports it.
|
||||||
if self.config.semantic_tokens_refresh() {
|
if self.config.semantic_tokens_refresh() {
|
||||||
self.semantic_tokens_cache.lock().clear();
|
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.
|
// Refresh code lens if the client supports it.
|
||||||
|
|
Loading…
Reference in a new issue