View Source GenLSP.Structures.TextDocumentChangeRegistrationOptions (gen_lsp v0.8.1)

Describe options to be used when registered for text document change events.

Link to this section Summary

Functions

Fields

  • sync_kind: How documents are synced to the server.
  • document_selector: A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

Link to this section Types

@type t() :: %GenLSP.Structures.TextDocumentChangeRegistrationOptions{
  document_selector: GenLSP.TypeAlias.DocumentSelector.t() | nil,
  sync_kind: GenLSP.Enumerations.TextDocumentSyncKind.t()
}

Link to this section Functions

Link to this function

%GenLSP.Structures.TextDocumentChangeRegistrationOptions{}

View Source (struct)

fields

Fields

  • sync_kind: How documents are synced to the server.
  • document_selector: A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.