nvim_runtime_lua

vim.lsp.document_color.HighlightInfo

Fields4

HighlightInfo.lsp_info : lsp.ColorInformation

Unprocessed LSP color information

HighlightInfo.hex_code : string

Resolved HEX color

HighlightInfo.range : vim.Range

Range of the highlight

HighlightInfo.hl_group : nil | string

Highlight group name. Won't be present if the style is a custom function.