company-posframe
company-posframe copied to clipboard
Company frame truncated when there is only one candidate
I use next company settings to trigger popup with candidates even if there is only one candidate:
(setq company-frontends '(company-pseudo-tooltip-frontend
company-echo-metadata-frontend))
I can reproduce this as well on Emacs 27.1 on macOS
AFAICT, fit-frame-to-buffer
is resizing too narrowly by one (or two, if there's meant to be a space to the right of the candidate) characters. When there are multiple candidates, it resizes correctly.