noice.nvim icon indicating copy to clipboard operation
noice.nvim copied to clipboard

fix: cmp popupmenu position

Open wangl-cc opened this issue 1 year ago • 0 comments

Currently, the popupmenu position of cmp is not aligned with input of smart-cmdline, because of its offset. Adjust the screen cursor position with offset should fix it. I try to access the offset directly by Cmdline.last().offset, but I'm not sure it's the right way.

Before

截屏2022-10-31 13 34 38

After

截屏2022-10-31 13 35 05

wangl-cc avatar Oct 31 '22 05:10 wangl-cc