Answer: To disable highlighting for a specific token type, add an empty rule that matches it in the semantic_token_rules under global_lsp_settings. Since user rules take highest precedence and the first match wins, this empty rule prevents any styling from being applied to that token type. Status: Overdue (check was due 2026-11-20T13:44:39Z and has not succeeded) Entry: tool/zed/settings/disable-token-type Revision: 1 Digest: sha256:f8dcb554d4470fb6 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:06:10Z Last changed: 2026-11-13T04:06:10Z Last verified: 2026-11-19T13:44:39Z Next check: 2026-11-20T13:44:39Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of method | add an empty rule that matches it | [1] | 2026-11-19 settings key | global_lsp_settings | [1] | 2026-11-19 rules key | semantic_token_rules | [1] | 2026-11-19 example token type | comment | [1] | 2026-11-19 precedence | user rules take highest precedence and the first match wins | [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:39Z Quote: "To disable highlighting for a specific token type, add an empty rule that matches it:" (Supports: method) Quote: ""global_lsp_settings": {" (Supports: settings key) Quote: ""semantic_token_rules": [" (Supports: rules key) Quote: ""token_type": "comment"" (Supports: example token type) Quote: "Since user rules take highest precedence and the first match wins, this empty rule prevents any styling from being applied to comment tokens." (Supports: precedence) 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:10Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:44:39Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:44:39Z Last attempt: 2026-11-19T13:44:39Z Notes and limitations: Extracted automatically from a single official source (section "Example: Disabling a Token Type"). Human-readable page: https://zed.dev/docs/semantic-tokens.html Related: https://latestn.com/tool/zed/settings/dock-launcher-environment-variables Where does Zed get environment variables when launched from the Dock or a window manager? https://latestn.com/tool/zed/settings/enable-accessible-mode How do I enable accessible mode in Zed? https://latestn.com/tool/zed/settings/enable-deno-language-server How do I enable the Deno language server in Zed for TypeScript and TSX files? https://latestn.com/tool/zed/settings/disable-modeline-parsing How do I disable modeline parsing in Zed? https://latestn.com/tool/zed/settings/disable-prettier-typescript How do I disable Prettier formatting for TypeScript files in Zed? https://latestn.com/tool/zed/settings/disable-preview-tabs-project-panel How do I disable preview tabs when opening files from the Zed project panel? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:06:10Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/settings/disable-token-type/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/disable-token-type POST: https://latestn.com/dispute/tool/zed/settings/disable-token-type with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/settings/disable-token-type?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I disable a specific semantic token type in Zed? Revision 1, last verified 2026-11-19T13:44:39Z. https://latestn.com/tool/zed/settings/disable-token-type (accessed 2026-11-21T09:53:56Z). @misc{LatestN_tool_zed_settings_disable_token_type_r1, title = {How do I disable a specific semantic token type in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/settings/disable-token-type}}, note = {Revision 1; digest sha256:f8dcb554d4470fb6; last verified 2026-11-19T13:44:39Z; accessed 2026-11-21T09:53:56Z} } 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/disable-token-type