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

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

[elpa] externals/standard-themes a509b581f5: Make eglot-diagnostic-tag-u


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

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

diff --git a/standard-themes.el b/standard-themes.el
index faaecefed1..1bab6ed614 100644
--- a/standard-themes.el
+++ b/standard-themes.el
@@ -1277,6 +1277,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 
standard-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]