Skip to content

Commit 856ab6a

Browse files
authored
Proposed fix for #116 (#461)
- use highlight face altered with italic/underline
1 parent 08f5c0c commit 856ab6a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lsp-methods.el

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -405,22 +405,19 @@ before saving a document."
405405

406406
;;;###autoload
407407
(defface lsp-face-highlight-textual
408-
'((((background dark)) :background "saddle brown")
409-
(((background light)) :background "yellow"))
408+
'((t :inherit highlight))
410409
"Face used for textual occurances of symbols."
411410
:group 'lsp-faces)
412411

413412
;;;###autoload
414413
(defface lsp-face-highlight-read
415-
'((((background dark)) :background "firebrick")
416-
(((background light)) :background "red"))
414+
'((t :inherit highlight :underline t))
417415
"Face used for highlighting symbols being read."
418416
:group 'lsp-faces)
419417

420418
;;;###autoload
421419
(defface lsp-face-highlight-write
422-
'((((background dark)) :background "sea green")
423-
(((background light)) :background "green"))
420+
'((t :inherit highlight :italic t))
424421
"Face used for highlighting symbols being written to."
425422
:group 'lsp-faces)
426423

0 commit comments

Comments
 (0)