jdtsmith / kind-icon

Completion kind text/icon prefix labelling for emacs in-region completion
GNU Affero General Public License v3.0
174 stars 4 forks source link

The icons overlap on line numbers at left border #11

Closed Eason0210 closed 2 years ago

Eason0210 commented 2 years ago

Hi @jdtsmith ,

Thanks for this great package. I use it with corfu, but when the completion popup window is close to the border, the icon will overlap on the line numbers. Is this by design? Is there options to avoid it?

image
jdtsmith commented 2 years ago

The alignment is provided by corfu, and is designed to line completions up under text in the buffer. In fact the corfu popup buffer can lie atop multiple windows, in the mini-buffer, etc. If you prefer an in-buffer completion UI, company is probably the way to go.

Eason0210 commented 2 years ago

Thanks for your advice.

I just moved from company, because it play not very good with eglot. see detail here at the eglot discusion

so it is designed, I will try to adapt to this new UI. Thanks again.