summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-09-12 19:59:17 +0100
committerjao <jao@gnu.org>2025-09-12 20:03:09 +0100
commit7090cd1ae94a13b2e34ee6dd02d99053bc02f3ce (patch)
tree645be7f43aa3096c9fbaad99a1aa030c79e309c8
parent702f84a857be38fd6641732fece0bfca2ad4d9c8 (diff)
downloadelibs-7090cd1ae94a13b2e34ee6dd02d99053bc02f3ce.tar.gz
elibs-7090cd1ae94a13b2e34ee6dd02d99053bc02f3ce.tar.bz2
completion: fix for reverse vertico hack
-rw-r--r--custom/jao-custom-completion.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 490fd65..436a4db 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)))
+ (vertico--resize-window (length lines))))
(advice-add 'vertico--display-candidates :around #'jao-vertico--display))