Skip to content

Commit

Permalink
Per joaotavora/eglot#858: Have a couple of LSP faces inherit from bas…
Browse files Browse the repository at this point in the history
…ic "shadow"

* eglot.el (eglot-diagnostic-tag-unnecessary-face)
(eglot-diagnostic-tag-deprecated-face): Inherit from 'shadow'.
  • Loading branch information
joaotavora committed Mar 6, 2022
1 parent 5cd15e3 commit 791c538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/progmodes/eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 791c538

Please sign in to comment.