Skip to content

Commit

Permalink
Per #858: Have a couple of LSP faces inherit from basic "shadow"
Browse files Browse the repository at this point in the history
* eglot.el (eglot-diagnostic-tag-unnecessary-face)
(eglot-diagnostic-tag-deprecated-face): Inherit from 'shadow'.

#858: joaotavora/eglot#858
  • Loading branch information
joaotavora committed Mar 6, 2022
1 parent 3119343 commit b2b658a
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 b2b658a

Please sign in to comment.