LSProtocol::FoldingRangeClientCapabilities
Inherits JSON::Serializable / Reference / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(dynamic_registration : Bool | Nil = nil, folding_range : ClientFoldingRangeOptions | Nil = nil, folding_range_kind : ClientFoldingRangeKindOptions | Nil = nil, line_folding_only : Bool | Nil = nil, range_limit : UInt32 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
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.
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.
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.