branch: externals/ef-themes
commit 89102a031d5796dd5c04bfa9bb20d0f5f5085d76
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make warnings/errors in Git commits more prominent
This is for Magit's COMMIT_EDITMSG buffers. Warnings pertain to the
overlong summary while the error is about the non-empty second line.
These are just stylistic for clean Git commits. They are not real
errors.
---
ef-themes.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index e98bb42e26..f0d5fc11a4 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -791,8 +791,8 @@ Helper function for `ef-themes-preview-colors'."
`(git-commit-comment-heading ((,c :inherit (bold font-lock-comment-face))))
`(git-commit-comment-file ((,c :inherit font-lock-comment-face :foreground
,name)))
`(git-commit-keyword ((,c :foreground ,keyword)))
- `(git-commit-nonempty-second-line ((,c :background ,bg-dim :foreground
,err)))
- `(git-commit-overlong-summary ((,c :background ,bg-dim :foreground
,warning)))
+ `(git-commit-nonempty-second-line ((,c :background ,bg-err :foreground
,err)))
+ `(git-commit-overlong-summary ((,c :background ,bg-warning :foreground
,warning)))
`(git-commit-summary ((,c :inherit bold :foreground ,accent-0)))
;;;; git-rebase
`(git-rebase-comment-hash ((,c :inherit font-lock-comment-face :foreground
,constant)))