nvim_runtime_lua

lsp.FoldingRangeClientCapabilities

@since 3.17.0 @since 3.17.0

Fields5

FoldingRangeClientCapabilities.dynamicRegistration : nil | boolean

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.

FoldingRangeClientCapabilities.rangeLimit : uinteger | nil

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.

FoldingRangeClientCapabilities.lineFoldingOnly : nil | boolean

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.

FoldingRangeClientCapabilities.foldingRangeKind : lsp.ClientFoldingRangeKindOptions | nil
FoldingRangeClientCapabilities.foldingRange : lsp.ClientFoldingRangeOptions | nil