diff options
author | jao <jao@gnu.org> | 2025-09-12 19:59:17 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2025-09-12 20:03:09 +0100 |
commit | 7090cd1ae94a13b2e34ee6dd02d99053bc02f3ce (patch) | |
tree | 645be7f43aa3096c9fbaad99a1aa030c79e309c8 /custom/jao-custom-completion.el | |
parent | 702f84a857be38fd6641732fece0bfca2ad4d9c8 (diff) | |
download | elibs-7090cd1ae94a13b2e34ee6dd02d99053bc02f3ce.tar.gz elibs-7090cd1ae94a13b2e34ee6dd02d99053bc02f3ce.tar.bz2 |
completion: fix for reverse vertico hack
Diffstat (limited to 'custom/jao-custom-completion.el')
-rw-r--r-- | custom/jao-custom-completion.el | 2 |
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)) |