View Source GenLSP.Structures.FoldingRangeClientCapabilities (gen_lsp v0.10.0)

Link to this section Summary

Functions

Fields

  • dynamic_registration: Whether implementation supports dynamic registration for folding range providers. If this is set to true the client supports the new FoldingRangeRegistrationOptions return value for the corresponding server capability as well.

Link to this section Types

@type t() :: %GenLSP.Structures.FoldingRangeClientCapabilities{
  dynamic_registration: boolean() | nil,
  folding_range: map() | nil,
  folding_range_kind: map() | nil,
  line_folding_only: boolean() | nil,
  range_limit: GenLSP.BaseTypes.uinteger() | nil
}

Link to this section Functions

Link to this function

%GenLSP.Structures.FoldingRangeClientCapabilities{}

View Source (struct)

fields

Fields

  • dynamic_registration: Whether implementation supports dynamic registration for folding range providers. If this is set to true the client supports the new FoldingRangeRegistrationOptions return value for the corresponding server capability as well.

  • range_limit: The maximum number of folding ranges that the client prefers to receive per document. The value serves as a hint, servers are free to follow the limit.

  • line_folding_only: If set, the client signals that it only supports folding complete lines. If set, client will ignore specified startCharacter and endCharacter properties in a FoldingRange.

  • folding_range_kind: Specific options for the folding range kind.

    @since 3.17.0

  • folding_range: Specific options for the folding range.

    @since 3.17.0