emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-themes add4cc0c01: Make eglot-diagnostic-tag-unne


From: ELPA Syncer
Subject: [elpa] externals/modus-themes add4cc0c01: Make eglot-diagnostic-tag-unnecessary-face look like a warning
Date: Mon, 13 Mar 2023 00:58:49 -0400 (EDT)

branch: externals/modus-themes
commit add4cc0c01f358aac4889363efb98ab10585a269
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make eglot-diagnostic-tag-unnecessary-face look like a warning
    
    By default it inherits the 'shadow' face, which makes it
    counter-intuitive as it dims the text instead of bringing it to our
    attention.  The intent of 'eglot-diagnostic-tag-unnecessary-face' is to
    highlight unused symbols, so this is better presented as a warning.
    
    Thanks to Augusto Stoffel for bringing this matter to my attention.
    This was done via a private channel and the information is shared
    with permission.
---
 modus-themes.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modus-themes.el b/modus-themes.el
index eb49b5c022..d47d7c3f9f 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -2153,6 +2153,7 @@ FG and BG are the main colors."
     `(ein:notification-tab-normal ((,c :underline t)))
 ;;;;; eglot
     `(eglot-mode-line ((,c :inherit modus-themes-bold :foreground 
,modeline-info)))
+    `(eglot-diagnostic-tag-unnecessary-face ((,c :inherit 
modus-themes-lang-note)))
 ;;;;; el-search
     `(el-search-highlight-in-prompt-face ((,c :inherit italic)))
     `(el-search-match ((,c :inherit modus-themes-search-current)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]