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'.
  • Loading branch information
joaotavora committed Mar 6, 2022
1 parent 8dc5180 commit 2548c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 2548c25

Please sign in to comment.