Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Company frame truncated when there is only one candidate #45

Open
rrudakov opened this issue Jun 13, 2020 · 1 comment
Open

Company frame truncated when there is only one candidate #45

rrudakov opened this issue Jun 13, 2020 · 1 comment

Comments

@rrudakov
Copy link

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))

2020-06-13_10-40

output-2020-06-13-10:45:11

@aaronjensen
Copy link
Contributor

aaronjensen commented Nov 2, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants