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

complete menu thumb issue #2067

Open
2 tasks done
epheien opened this issue Oct 21, 2024 · 0 comments · May be fixed by #2068
Open
2 tasks done

complete menu thumb issue #2067

epheien opened this issue Oct 21, 2024 · 0 comments · May be fixed by #2068
Labels
bug Something isn't working

Comments

@epheien
Copy link

epheien commented Oct 21, 2024

FAQ

  • I have checked the FAQ and it didn't resolve my problem.

Announcement

Minimal reproducible full config

  sources = cmp.config.sources({
    {
      name = 'buffer',
    },
  }),

Description

When the completion menu has exactly 7 items and set pumheight=5, the position of the scrollbar will be incorrect.

Steps to reproduce

abcdefghi
abcdefgh
abcdefg
abcdef
abcde
abcd
abc
ab|

see below image

Expected behavior

scrollbar render normally

Actual behavior

see below image

Additional context

Xnip2024-10-21_13-04-12
@epheien epheien added the bug Something isn't working label Oct 21, 2024
@epheien epheien linked a pull request Oct 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant