Skip to content
BENIBIX Learn

syntaxHighlightingDisabled

AI⌨️ Claude CodeConfiguration

Also known as syntaxHighlightingDisabled setting

The key that shows code as plain text, with no colors.

Think of it like

It is like writing with one black pen. You do not use a box of colors.

Example

Lucy uses a screen reader, and the colored code makes it slow. She sets syntaxHighlightingDisabled to true.

Why it matters

Colors help most people read code, but they get in the way of some setups.

Definition

syntaxHighlightingDisabled is a settings key that turns off the colors Claude Code gives to code. By default it colors code in diffs, code blocks and file views. Set the key to true to show plain text. That helps when the colors clash with your theme, or slow down a screen reader.

Example code

json
{
  "syntaxHighlightingDisabled": true
}
Show code without colors.

Common mistake

Changing the theme to fix code colors. This key is the one that turns them off.

Key takeaways

  1. 1
    Turns off code colors. In diffs too.
  2. 2
    Off by default. Colors show.
  3. 3
    Helps screen readers. Plain text.

Compare