From d8bd11ab7a867b50b8b1999459111df84aaaf73b Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 8 Jan 2025 20:53:38 +0000 Subject: vertico api upgrade --- custom/jao-custom-completion.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/jao-custom-completion.el') diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 9524e23..34701b3 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -87,7 +87,7 @@ (funcall fun lines) (move-overlay vertico--candidates-ov (point-min) (point-min)) (overlay-put vertico--candidates-ov 'after-string (apply #'concat lines)) - (vertico--resize-window (length lines)))) + (vertico--resize))) (advice-add 'vertico--display-candidates :around #'jao-vertico--display)) -- cgit v1.2.3