From 856ab6a9aa737f9f22c1969fcfa4193217d11c85 Mon Sep 17 00:00:00 2001 From: Ivan Yonchovski Date: Tue, 30 Oct 2018 18:56:17 +0200 Subject: [PATCH] Proposed fix for #116 (#461) - use highlight face altered with italic/underline --- lsp-methods.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lsp-methods.el b/lsp-methods.el index a920a3d7cc1..62cf8e9d9f5 100644 --- a/lsp-methods.el +++ b/lsp-methods.el @@ -405,22 +405,19 @@ before saving a document." ;;;###autoload (defface lsp-face-highlight-textual - '((((background dark)) :background "saddle brown") - (((background light)) :background "yellow")) + '((t :inherit highlight)) "Face used for textual occurances of symbols." :group 'lsp-faces) ;;;###autoload (defface lsp-face-highlight-read - '((((background dark)) :background "firebrick") - (((background light)) :background "red")) + '((t :inherit highlight :underline t)) "Face used for highlighting symbols being read." :group 'lsp-faces) ;;;###autoload (defface lsp-face-highlight-write - '((((background dark)) :background "sea green") - (((background light)) :background "green")) + '((t :inherit highlight :italic t)) "Face used for highlighting symbols being written to." :group 'lsp-faces)