Skip to content

Commit

Permalink
Merge pull request #225 from kirawi/patch-1
Browse files Browse the repository at this point in the history
Fix `SemanticTokensRefresh` typo
  • Loading branch information
Marwes committed Dec 1, 2021
2 parents 4be8da3 + 3dadbe7 commit 963e3b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/request.rs
Expand Up @@ -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
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 963e3b1

Please sign in to comment.