@@ -5799,7 +5799,10 @@ RENDER-ALL - nil if only the signature should be rendered."
5799
5799
(list :position (point)
5800
5800
:background-color (face-attribute 'lsp-signature-posframe :background nil t)
5801
5801
:foreground-color (face-attribute 'lsp-signature-posframe :foreground nil t)
5802
- :border-color (face-attribute 'font-lock-comment-face :foreground nil t))))
5802
+ :border-color (face-attribute (if (facep 'child-frame-border)
5803
+ 'child-frame-border
5804
+ 'internal-border)
5805
+ :background nil t))))
5803
5806
(posframe-hide " *lsp-signature*")))
5804
5807
5805
5808
(defun lsp--handle-signature-update (signature)
@@ -5857,6 +5860,11 @@ It will show up only if current point has signature help."
5857
5860
(list lsp-signature-doc-lines))))
5858
5861
(lsp-signature-activate))
5859
5862
5863
+ (defface lsp-signature-highlight-function-argument
5864
+ '((t :inherit eldoc-highlight-function-argument))
5865
+ "The face to use to highlight function arguments in signatures."
5866
+ :group 'lsp-mode)
5867
+
5860
5868
(defun lsp--signature->message (signature-help)
5861
5869
"Generate eldoc message from SIGNATURE-HELP response."
5862
5870
(setq lsp--signature-last signature-help)
@@ -5902,7 +5910,7 @@ It will show up only if current point has signature help."
5902
5910
(end (if (stringp selected-param-label)
5903
5911
(+ start (length selected-param-label))
5904
5912
(cl-second selected-param-label))))
5905
- (add-face-text-property start end 'eldoc -highlight-function-argument nil label)))
5913
+ (add-face-text-property start end 'lsp-signature -highlight-function-argument nil label)))
5906
5914
(concat prefix label method-docs))))
5907
5915
5908
5916
(defun lsp-signature ()
0 commit comments