aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2026-03-19 21:34:33 +0100
committerJonas Bernoulli <jonas@bernoul.li>2026-03-19 23:36:20 +0100
commitaca61af96cfe4b0eaf582729db49151881456b7b (patch)
treeb090a364db0cc919bf541d0d1a02328a08f98915
parentd1b73d555b7c042596724b13d1dee7f2d4c3c20b (diff)
manual: Document two more options
-rw-r--r--docs/magit.org14
-rw-r--r--docs/magit.texi14
2 files changed, 28 insertions, 0 deletions
diff --git a/docs/magit.org b/docs/magit.org
index 0a0ad32..5b977b5 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -3372,6 +3372,20 @@ that they are available here too.
Whether to ignore whitespace changes in word-granularity
differences.
+- User Option: magit-diff-specify-hunk-foreground ::
+
+ Whether to specify foreground colors for hunk faces.
+
+ Setting this only has an effect if done before Magit is loaded.
+
+- User Option: magit-diff-use-indicator-faces ::
+
+ Whether to use separate faces for diff side indicators.
+
+ If non-~nil~, use, for example, ~magit-diff-removed-indicator~ for the
+ plus sign at the beginning of a removed line. If ~nil~, use the same
+ face as for the rest of the line.
+
- User Option: magit-diff-adjust-tab-width ::
Whether to adjust the width of tabs in diffs.
diff --git a/docs/magit.texi b/docs/magit.texi
index 580b844..7ea3d12 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -3965,6 +3965,20 @@ Whether to ignore whitespace changes in word-granularity
differences.
@end defopt
+@defopt magit-diff-specify-hunk-foreground
+Whether to specify foreground colors for hunk faces.
+
+Setting this only has an effect if done before Magit is loaded.
+@end defopt
+
+@defopt magit-diff-use-indicator-faces
+Whether to use separate faces for diff side indicators.
+
+If non-@code{nil}, use, for example, @code{magit-diff-removed-indicator} for the
+plus sign at the beginning of a removed line. If @code{nil}, use the same
+face as for the rest of the line.
+@end defopt
+
@defopt magit-diff-adjust-tab-width
Whether to adjust the width of tabs in diffs.