File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -5022,11 +5022,13 @@ It will show up only if current point has signature help."
5022
5022
(active-signature? (or lsp--signature-last-index active-signature? 0))
5023
5023
(_ (setq lsp--signature-last-index active-signature?))
5024
5024
((signature &as &SignatureInformation? :label :parameters?) (seq-elt signatures active-signature?))
5025
- (prefix (concat (propertize (format " %s/%s"
5026
- (1+ active-signature?)
5027
- (length signatures))
5028
- 'face 'success)
5029
- " │ "))
5025
+ (prefix (if (not (cl-rest signatures))
5026
+ ""
5027
+ (concat (propertize (format " %s/%s"
5028
+ (1+ active-signature?)
5029
+ (length signatures))
5030
+ 'face 'success)
5031
+ " ")))
5030
5032
(method-docs (when
5031
5033
(and lsp-signature-render-documentation
5032
5034
(or (not (numberp lsp-signature-doc-lines)) (< 0 lsp-signature-doc-lines)))
You can’t perform that action at this time.
0 commit comments