⌨️CLAUDE_CODE_SYNTAX_HIGHLIGHT
Also known as CLAUDE_CODE_SYNTAX_HIGHLIGHT=false
Set to false, it turns off the colors in diffs.
Think of it like
It is like you print a page in black and white.
Example
Emma's terminal theme made diff colors hard to read. She sets this, and the diffs show in plain text.
Why it matters
Colors that clash with a theme can make a diff harder to read than plain text.
Definition
Example code
bash
export CLAUDE_CODE_SYNTAX_HIGHLIGHT=false
claudeCommon mistake
Key takeaways
- 1false turns off. Diff colors.
- 2Code blocks keep color. Use the setting.
- 3For clashing themes. Readability.