From 9b1fca49678e1c4fa0ab85892a0ef044c8c8201e Mon Sep 17 00:00:00 2001 From: Kunall Banerjee Date: Mon, 2 Feb 2026 01:53:31 -0500 Subject: [PATCH] docs: document right options for `lsp_document_colors` (#48170) This probably should have been updated when https://github.com/zed-industries/zed/pull/32816 landed. Release Notes: - N/A --- docs/src/reference/all-settings.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/src/reference/all-settings.md b/docs/src/reference/all-settings.md index fe77cfcb287f264256244523c0eb815dcf0658de..16e482d4f98c6cd400b1e19ce560f2768a125fe6 100644 --- a/docs/src/reference/all-settings.md +++ b/docs/src/reference/all-settings.md @@ -2667,13 +2667,16 @@ Configuration for various AI model providers including API URLs and authenticati ## LSP Document Colors -- Description: Whether to show document color information from the language server +- Description: How to render LSP `textDocument/documentColor` colors in the editor - Setting: `lsp_document_colors` -- Default: `true` +- Default: `inlay` **Options** -`boolean` values +1. `inlay`: Render document colors as inlay hints near the color text. +2. `background`: Draw a background behind the color text. +3. `border`: Draw a border around the color text. +4. `none`: Do not query and render document colors. ## Max Tabs