nvim_runtime_lua

lsp.ColorPresentationParams

Parameters for a {@link ColorPresentationRequest}.

Fields3

ColorPresentationParams.textDocument : lsp.TextDocumentIdentifier

The text document.

ColorPresentationParams.color : lsp.Color

The color to request presentations for.

ColorPresentationParams.range : lsp.Range

The range where the color would be inserted. Serves as a context.