Skip to content

Commit 8a3ca6f

Browse files
authored
Improve posframe signature help UI (#2638)
* Add border to posframe * Change border to background color to look like padding
1 parent 2d1732a commit 8a3ca6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lsp-mode.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,10 +4946,13 @@ RENDER-ALL - nil if only the signature should be rendered."
49464946
:background-color (face-attribute 'tooltip :background)
49474947
:height 6
49484948
:width 60
4949+
:border-width 10
4950+
:border-color (face-attribute 'tooltip :background)
49494951
:min-width 60)
49504952
"Params for signature and `posframe-show'.")
49514953

49524954
(defun lsp-signature-posframe (str)
4955+
"Use posframe to show the STR signatureHelp string."
49534956
(if str
49544957
(apply #'posframe-show
49554958
(with-current-buffer (get-buffer-create "*lsp-signature*")

0 commit comments

Comments
 (0)