Skip to content

[FEATURE]: Config option to disable syntax highlighting in diffs #7853

@ibrahimsag

Description

@ibrahimsag

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Request

When viewing diffs in the TUI, syntax highlighting is always enabled. For some users/terminals, disabling syntax highlighting would improve readability.

Proposed solution:

Add a tui.diff_syntax boolean config option (default: true). When set to false, diffs render without syntax
highlighting.

{
 tui: {
   diff_syntax: false
 }
}

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions