Skip to content

Commit

Permalink
Merge pull request #286 from gluon-lang/issue-285
Browse files Browse the repository at this point in the history
fix: Correct TextDocumentChangeRegistrationOptions::sync_kind
  • Loading branch information
Marwes authored Jun 4, 2024
2 parents 310915c + 17cf541 commit 747296d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ pub struct TextDocumentSyncOptions {
pub open_close: Option<bool>,

/// Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full
/// and TextDocumentSyncKindIncremental.
/// and TextDocumentSyncKind.Incremental.
#[serde(skip_serializing_if = "Option::is_none")]
pub change: Option<TextDocumentSyncKind>,

Expand Down Expand Up @@ -2187,8 +2187,8 @@ pub struct TextDocumentChangeRegistrationOptions {
pub document_selector: Option<DocumentSelector>,

/// How documents are synced to the server. See TextDocumentSyncKind.Full
/// and TextDocumentSyncKindIncremental.
pub sync_kind: i32,
/// and TextDocumentSyncKind.Incremental.
pub sync_kind: TextDocumentSyncKind,
}

/// The parameters send in a will save text document notification.
Expand Down Expand Up @@ -2458,8 +2458,8 @@ pub enum Documentation {
///
/// The pair of a language and a value is an equivalent to markdown:
///
/// ```${language}
/// ${value}
/// ```LANGUAGE
/// VALUE
/// ```
#[derive(Debug, Eq, PartialEq, Clone, Deserialize, Serialize)]
#[serde(untagged)]
Expand Down

0 comments on commit 747296d

Please sign in to comment.