Skip to content

Commit e40749f

Browse files
committed
Make sure that signatures check works with vectors
Fixes #2642
1 parent e7b86d0 commit e40749f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5022,7 +5022,7 @@ It will show up only if current point has signature help."
50225022
(active-signature? (or lsp--signature-last-index active-signature? 0))
50235023
(_ (setq lsp--signature-last-index active-signature?))
50245024
((signature &as &SignatureInformation? :label :parameters?) (seq-elt signatures active-signature?))
5025-
(prefix (if (not (cl-rest signatures))
5025+
(prefix (if (= (length signatures) 1)
50265026
""
50275027
(concat (propertize (format " %s/%s"
50285028
(1+ active-signature?)

0 commit comments

Comments
 (0)