syntaxHighlightingDisabled vs CLAUDE_CODE_SYNTAX_HIGHLIGHT
People think setting CLAUDE_CODE_SYNTAX_HIGHLIGHT to false turns off all code colors. It only does it in diffs. Code blocks and file views keep their colors. The syntaxHighlightingDisabled key, set to true, turns color off in all three. Use the key when the colors clash with your theme, or slow down a screen reader.
syntaxHighlightingDisabled
The key that shows code as plain text, with no colors.
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.
CLAUDE_CODE_SYNTAX_HIGHLIGHT
Set to false, it turns off the colors in diffs.
CLAUDE_CODE_SYNTAX_HIGHLIGHT set to false turns off colors in diffs. Use it when those colors clash with your terminal. Code blocks and file views keep their colors. To turn those off too, use the matching setting.
In one line
- syntaxHighlightingDisabled
- The key that shows code as plain text, with no colors.
- CLAUDE_CODE_SYNTAX_HIGHLIGHT
- Set to false, it turns off the colors in diffs.