nvim_runtime_lua

vim.lsp.document_color.Opts

Fields1

Opts.style : "background" | "foreground" | "virtual" | string | fun(bufnr: integer, range: vim.Range, hex_code: string) -> nil | nil

Highlight style. It can be one of the pre-defined styles, a string to be used as virtual text, or a function that receives the buffer handle, the range (start line, start col, end line, end col) and the resolved hex color. (default: 'background')