Skip to content

Commit c120a2e

Browse files
authored
use xref-match face for lsp--xref-make-item (#4000)
1 parent 586ec02 commit c120a2e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lsp-mode.el

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -987,11 +987,6 @@ must be used for handling a particular message.")
987987
"Face used for highlighting symbols being written to."
988988
:group 'lsp-mode)
989989

990-
(defface lsp-face-xref-items
991-
'((t :inherit highlight))
992-
"Face used for highlighting xref items."
993-
:group 'lsp-mode)
994-
995990
(define-obsolete-variable-alias 'lsp-lens-auto-enable
996991
'lsp-lens-enable "lsp-mode 7.0.1")
997992

@@ -5050,7 +5045,7 @@ identifier and the position respectively."
50505045
(len (length line)))
50515046
(add-face-text-property (max (min start-char len) 0)
50525047
(max (min end-char len) 0)
5053-
'lsp-face-xref-items t line)
5048+
'xref-match t line)
50545049
;; LINE is nil when FILENAME is not being current visited by any buffer.
50555050
(xref-make (or line filename)
50565051
(xref-make-file-location

0 commit comments

Comments
 (0)