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

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.