[PR #7854] feat(tui): add config option to disable syntax highlighting in diffs #12534

Closed
opened 2026-02-16 18:17:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7854

State: closed
Merged: No


for #7853

Summary

Adds tui.diff_syntax config option to disable syntax highlighting in diffs.

{
  "tui": {
    "diff_syntax": false
  }
}

Default is true (syntax highlighting enabled). When set to false, diffs render without syntax highlighting.

Changes

  • Added diff_syntax boolean option to TUI config schema
  • Updated Edit component and permission dialog to respect the config
  • Regenerated SDK types
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7854 **State:** closed **Merged:** No --- for #7853 ## Summary Adds `tui.diff_syntax` config option to disable syntax highlighting in diffs. ```json { "tui": { "diff_syntax": false } } ``` Default is `true` (syntax highlighting enabled). When set to `false`, diffs render without syntax highlighting. ## Changes - Added `diff_syntax` boolean option to TUI config schema - Updated `Edit` component and permission dialog to respect the config - Regenerated SDK types
yindo added the pull-request label 2026-02-16 18:17:26 -05:00
yindo closed this issue 2026-02-16 18:17:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12534