From 3dadbe75cd2558c1afb3c4f971ab404ec718f58f Mon Sep 17 00:00:00 2001 From: Kirawi <67773714+kirawi@users.noreply.github.com> Date: Tue, 30 Nov 2021 18:32:03 -0500 Subject: [PATCH] Fix `SemanticTokensRefresh` typo --- src/request.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/request.rs b/src/request.rs index a9a4d97..4ed014d 100644 --- a/src/request.rs +++ b/src/request.rs @@ -160,7 +160,7 @@ macro_rules! lsp_request { $crate::request::WillDeleteFiles }; ("workspace/semanticTokens/refresh") => { - $crate::request::SemanticTokensRefesh + $crate::request::SemanticTokensRefresh }; ("workspace/codeLens/refresh") => { $crate::request::CodeLensRefresh @@ -706,9 +706,9 @@ impl Request for SemanticTokensRangeRequest { /// As a result the client should ask the server to recompute the semantic tokens for these editors. /// This is useful if a server detects a project wide configuration change which requires a re-calculation of all semantic tokens. /// Note that the client still has the freedom to delay the re-calculation of the semantic tokens if for example an editor is currently not visible. -pub enum SemanticTokensRefesh {} +pub enum SemanticTokensRefresh {} -impl Request for SemanticTokensRefesh { +impl Request for SemanticTokensRefresh { type Params = (); type Result = (); const METHOD: &'static str = "workspace/semanticTokens/refresh";