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

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

[elpa] externals/ef-themes 9eec085141: Make eglot-diagnostic-tag-unneces


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

branch: externals/ef-themes
commit 9eec0851415a6ae1406b1627f497f23e7fa0f0b4
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.
---
 ef-themes.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ef-themes.el b/ef-themes.el
index ac3687c11e..51ce41387c 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1187,6 +1187,7 @@ Optional prefix argument MAPPINGS has the same meaning as 
for
     `(ediff-odd-diff-C ((,c :inherit ediff-even-diff-C)))
 ;;;; eglot
     `(eglot-mode-line ((,c :inherit bold :foreground ,modeline-info)))
+    `(eglot-diagnostic-tag-unnecessary-face ((,c :inherit 
ef-themes-underline-info)))
 ;;;; eldoc
     ;; NOTE: see https://github.com/purcell/package-lint/issues/187
     (list 'eldoc-highlight-function-argument `((,c :inherit warning 
:background ,bg-warning)))



reply via email to

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