Answer: You customize semantic token colors in Zed by adding rules under the `global_lsp_settings.semantic_token_rules` key in your settings.json. Rules are matched in order, and the first matching rule wins, with user-defined rules taking highest precedence. Status: Overdue (check was due 2026-11-20T13:44:38Z and has not succeeded) Entry: tool/zed/settings/customize-token-colors Revision: 1 Digest: sha256:a37958f636afedab (changes whenever the content changes) Timeline: Created: 2026-11-13T04:06:09Z Last changed: 2026-11-13T04:06:09Z Last verified: 2026-11-19T13:44:38Z Next check: 2026-11-20T13:44:38Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Settings key | global_lsp_settings.semantic_token_rules | [1] | 2026-11-19 Matching order | Rules are matched in order, and the first matching rule wins. | [1] | 2026-11-19 Precedence | User-defined rules take highest precedence, followed by extension-provided language rules, then Zed defaults. | [1] | 2026-11-19 Foreground color example | #ff0000 | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/semantic-tokens.md". https://zed.dev/docs/semantic-tokens.md Role: primary. Accessed: 2026-11-19T13:44:38Z Quote: "add rules under `global_lsp_settings.semantic_token_rules` key" (Supports: Settings key) Quote: "Rules are matched in order, and the first matching rule wins." (Supports: Matching order) Quote: "User-defined rules take highest precedence, followed by extension-provided language rules, then Zed defaults." (Supports: Precedence) Quote: "Override foreground color in hex format (e.g., `"#ff0000"`)." (Supports: Foreground color example) Snapshot SHA-256: caf336716a3de3f8eea3163ec66a713ae1c148512d2dad3a759e21263bc1e845 (captured 2026-11-13T04:06:09Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:06:09Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:44:38Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:44:38Z Last attempt: 2026-11-19T13:44:38Z Notes and limitations: Extracted automatically from a single official source (section "Customizing Token Colors"). Human-readable page: https://zed.dev/docs/semantic-tokens.html Related: https://latestn.com/tool/zed/settings/debugger-dock-settings How do I change the debugger dock settings in Zed? https://latestn.com/tool/zed/settings/diff-file-types-extensions How do I make Zed recognize additional file extensions as Diff files? https://latestn.com/tool/zed/settings/diff-view-split-unified How do I change the diff view between split and unified in Zed? https://latestn.com/tool/zed/settings/customize-debug-adapters How do I configure a debug adapter in Zed? https://latestn.com/tool/zed/settings/customize-semantic-token-styles How do I customize semantic token styles for syntax highlighting in Zed? https://latestn.com/tool/zed/settings/customize-shellcheck-warnings How do I customize which shellcheck warnings and errors Zed reports? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:06:09Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/customize-token-colors/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/settings/customize-token-colors POST: https://latestn.com/dispute/tool/zed/settings/customize-token-colors with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/customize-token-colors?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I customize semantic token colors in Zed? Revision 1, last verified 2026-11-19T13:44:38Z. https://latestn.com/tool/zed/settings/customize-token-colors (accessed 2026-11-21T09:59:38Z). @misc{LatestN_tool_zed_settings_customize_token_colors_r1, title = {How do I customize semantic token colors in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/customize-token-colors}}, note = {Revision 1; digest sha256:a37958f636afedab; last verified 2026-11-19T13:44:38Z; accessed 2026-11-21T09:59:38Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/settings/customize-token-colors