Answer: You customize semantic token styles by defining rules in the `semantic_token_rules` array under `global_lsp_settings` in your settings file, where each rule can specify `token_type`, `token_modifiers`, `style`, colors, underline, strikethrough, `font_weight`, and `font_style`. All rules matching a given `token_type` and `token_modifiers` are applied, with earlier rules taking precedence. Status: Overdue (check was due 2026-11-20T13:40:41Z and has not succeeded) Entry: tool/zed/settings/customize-semantic-token-styles Revision: 1 Digest: sha256:c5d91a90bbb92037 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:02:16Z Last changed: 2026-11-13T04:02:16Z Last verified: 2026-11-19T13:40:41Z Next check: 2026-11-20T13:40:41Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of settings key | semantic_token_rules | [1] | 2026-11-19 parent setting | global_lsp_settings | [1] | 2026-11-19 precedence | Earlier rules take precedence. | [1] | 2026-11-19 token_type | token_type | [1] | 2026-11-19 token_modifiers | token_modifiers | [1] | 2026-11-19 style | style | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/extensions/languages.md". https://zed.dev/docs/extensions/languages.md Role: primary. Accessed: 2026-11-19T13:40:41Z Quote: "rules from `semantic_token_rules` in your settings file" (Supports: settings key) Quote: ""global_lsp_settings": {" (Supports: parent setting) Quote: "All rules that match a given `token_type` and `token_modifiers` are applied. Earlier rules take precedence." (Supports: precedence) Quote: "`token_type`: The semantic token type as defined by the" (Supports: token_type) Quote: "`token_modifiers`: A list of semantic token modifiers to match. All modifiers must be present to match." (Supports: token_modifiers) Quote: "`style`: A list of styles from the current syntax theme to use. The first style found is used." (Supports: style) Snapshot SHA-256: 35f20391ad5be8ce074c54cab3a1bf86fbd6b33dcc0eccc29a87660c47403167 (captured 2026-11-13T04:02:16Z) 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:02:16Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:40:41Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:40:41Z Last attempt: 2026-11-19T13:40:41Z Notes and limitations: Extracted automatically from a single official source (section "Customizing Semantic Token Styles"). Human-readable page: https://zed.dev/docs/extensions/languages.html Related: https://latestn.com/tool/zed/settings/customize-shellcheck-warnings How do I customize which shellcheck warnings and errors Zed reports? https://latestn.com/tool/zed/settings/customize-token-colors How do I customize semantic token colors in Zed? 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/custom-headers How do I add custom headers to Zed AI API requests? https://latestn.com/tool/zed/settings/custom-hls-binary How do I use a specific HLS binary or static-ls in Zed? https://latestn.com/tool/zed/settings/customize-debug-adapters How do I configure a debug adapter in Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:02:16Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/customize-semantic-token-styles/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-semantic-token-styles POST: https://latestn.com/dispute/tool/zed/settings/customize-semantic-token-styles with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/customize-semantic-token-styles?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I customize semantic token styles for syntax highlighting in Zed? Revision 1, last verified 2026-11-19T13:40:41Z. https://latestn.com/tool/zed/settings/customize-semantic-token-styles (accessed 2026-11-21T09:59:44Z). @misc{LatestN_tool_zed_settings_customize_semantic_token_styles_r1, title = {How do I customize semantic token styles for syntax highlighting in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/customize-semantic-token-styles}}, note = {Revision 1; digest sha256:c5d91a90bbb92037; last verified 2026-11-19T13:40:41Z; accessed 2026-11-21T09:59:44Z} } 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-semantic-token-styles