1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2026-01-08 05:07:30 +01:00
aerc/stylesets/default
Fredrik Foss-Indrehus f6e48d1bcd colorize: highlight trailing whitespace in diff lines
Render trailing spaces and tabs in diff additions, deletions, and
context lines with a red background by default, similar to git's
diff.wsErrorHighlight = all (old,new,context). See git-diff(1).

The style is configurable with the diff_whitespace styleset option.

Changelog-added: Trailing whitespace in diff addition, deletion
 and context lines are now highlighted with a red background by
 default, similar to git's `diff.wsErrorHighlight` option set to
 `all`. Configurable with `[viewer].diff_whitespace` styleset option.
Signed-off-by: Fredrik Foss-Indrehus <fredrik@ffoss.net>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-01-07 11:19:30 +01:00

84 lines
1.7 KiB
INI

# vim: ft=dosini
#
# aerc default styleset
#
# This styleset uses the terminal defaults as its base.
# More information on how to configure the styleset can be found in
# the aerc-stylesets(7) manpage. Please read the manual before
# modifying or creating a styleset.
# Uncomment these two lines to reset all attributes (except in the [viewer]
# section) and start from scratch.
#*.default = true
#*.normal = true
#*.selected.bg = 12
#*.selected.fg = 15
#*.selected.bold = true
#statusline_*.dim = true
#*warning.dim = false
#*warning.bold = true
#*warning.fg = 11
#*success.dim = false
#*success.bold = true
#*success.fg = 10
#*error.dim = false
#*error.bold = true
#*error.fg = 9
#border.fg = 12
#border.bold = true
#title.bg = 12
#title.fg = 15
#title.bold = true
#header.fg = 4
#header.bold = true
#msglist_unread.bold = true
#msglist_deleted.dim = true
#msglist_marked.bg = 6
#msglist_marked.fg = 15
#msglist_pill.bg = 12
#msglist_pill.fg = 15
#part_mimetype.fg = 12
#selector_chooser.bold = true
#selector_focused.bold = true
#selector_focused.bg = 12
#selector_focused.fg = 15
#completion_*.bg = 8
#completion_pill.bg = 12
#completion_default.fg = 15
#completion_description.fg = 15
#completion_description.dim = true
#[viewer]
# Uncomment these two lines to reset all attributes in the [viewer] section.
#*.default = true
#*.normal = true
#url.underline = true
#url.fg = 3
#header.bold = true
#header.fg = 4
#signature.dim = true
#signature.fg = 4
#diff_meta.bold = true
#diff_chunk.fg = 6
#diff_chunk_func.fg = 6
#diff_chunk_func.dim = true
#diff_add.fg = 2
#diff_del.fg = 1
#diff_whitespace.bg = 1
#quote_1.fg = 6
#quote_2.fg = 4
#quote_3.fg = 6
#quote_3.dim = true
#quote_4.fg = 4
#quote_4.dim = true
#quote_x.fg = 5
#quote_x.dim = true