Skip to content

Commit

Permalink
Merge pull request #257 from ahlinc/init-work-done-token
Browse files Browse the repository at this point in the history
Add support for work done ProgressToken by the initialize request
  • Loading branch information
Marwes authored Nov 22, 2023
2 parents 7309240 + 43ccaa7 commit f106ccb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,11 @@ pub struct InitializeParams {
/// @since 3.16.0
#[serde(skip_serializing_if = "Option::is_none")]
pub locale: Option<String>,

/// The LSP server may report about initialization progress to the client
/// by using the following work done token if it was passed by the client.
#[serde(flatten)]
pub work_done_progress_params: WorkDoneProgressParams,
}

#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
Expand Down

0 comments on commit f106ccb

Please sign in to comment.