Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: document right options for `lsp_document_colors` (#48170)

Kunall Banerjee9b1fca49678e
diff --git a/docs/src/reference/all-settings.md b/docs/src/reference/all-settings.md
index fe77cfcb287..16e482d4f98 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