lsp.SemanticTokensClientCapabilities
@since 3.17.0 @since 3.17.0
Fields9
SemanticTokensClientCapabilities.dynamicRegistration : nil | boolean
Whether implementation supports dynamic registration. If this is set to true the client supports the new (TextDocumentRegistrationOptions & StaticRegistrationOptions) return value for the corresponding server capability as well.
SemanticTokensClientCapabilities.requests : lsp.ClientSemanticTokensRequestOptions
Which requests the client supports and might send to the server depending on the server's capability. Please note that clients might not show semantic tokens or degrade some of the user experience if a range or full request is advertised by the client but not provided by the server. If for example the client capability requests.full and request.range are both set to true but the server only provides a range provider the client might not render a minimap correctly or might even decide to not show any semantic tokens at all.
SemanticTokensClientCapabilities.tokenTypes : string[]
The token types that the client supports.
SemanticTokensClientCapabilities.tokenModifiers : string[]
The token modifiers that the client supports.
SemanticTokensClientCapabilities.formats : lsp.TokenFormat[]
The token formats the clients supports.
SemanticTokensClientCapabilities.overlappingTokenSupport : nil | boolean
Whether the client supports tokens that can overlap each other.
SemanticTokensClientCapabilities.multilineTokenSupport : nil | boolean
Whether the client supports tokens that can span multiple lines.
SemanticTokensClientCapabilities.serverCancelSupport : nil | boolean
SemanticTokensClientCapabilities.augmentsSyntaxTokens : nil | boolean