]> git.eshelyaron.com Git - emacs.git/commitdiff
Have a couple of lsp faces inherit from basic "shadow"
authorJoão Távora <joaotavora@gmail.com>
Sun, 6 Mar 2022 11:15:18 +0000 (11:15 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 6 Mar 2022 11:15:18 +0000 (11:15 +0000)
* eglot.el (eglot-diagnostic-tag-unnecessary-face)
(eglot-diagnostic-tag-deprecated-face): Inherit from 'shadow'.

GitHub-reference: per https://github.com/joaotavora/eglot/issues/858

lisp/progmodes/eglot.el

index 3f84b3b7a262a067ecc80b417436af7db6f710a5..7bff005973a59a87a95d2ce5e5fb259e7b71eece 100644 (file)
@@ -258,11 +258,11 @@ CONTACT can be:
   "Face for package-name in EGLOT's mode line.")
 
 (defface eglot-diagnostic-tag-unnecessary-face
-  '((t . (:weight ultra-light)))
+  '((t (:inherit shadow)))
   "Face used to render unused or unnecessary code.")
 
 (defface eglot-diagnostic-tag-deprecated-face
-  '((t . (:strike-through t)))
+  '((t . (:inherit shadow :strike-through t)))
   "Face used to render deprecated or obsolete code.")
 
 (defcustom eglot-autoreconnect 3