RMichelsen / Nvy

Nvy - A Neovim client in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmp autocomplete menu misalignment

mdealencar opened this issue · comments

When the autocomplete menu from cmp is open, the selected line has a misalignment that can be one or two char wide. This misalignment propagates to the documentation popup next to the menu (as seen in the screenshot).

image

nvim-qt does not display the misalignment for the same configuration.

commented

Do you have the bold version of your font installed? In my testing cmp uses a bold font weight for the selected line, so if you have one installed for your font the issue doesn't appear. If you only have the regular version installed then DirectWrite seems to generate a fake bold version which causes this issue.

It was a problem with the font indeed. Thanks!