nvim-cmp icon indicating copy to clipboard operation
nvim-cmp copied to clipboard

Toggle completion menu

Open Sam-programs opened this issue 1 year ago • 2 comments

This pr gives the user the ability to hide all the cmp, by wrapping every nvim_win* function needed and storing the results before hiding the windows. Fix: https://github.com/hrsh7th/nvim-cmp/issues/1698 https://github.com/hrsh7th/nvim-cmp/issues/1013

Sam-programs avatar Nov 12 '23 15:11 Sam-programs

Would love to see this merged.

dsully avatar Feb 01 '24 03:02 dsully

This still needs documentation, but i am not sure if the current config interface is good, i added 2 options.

window = {
      auto_hide = false,
      show_on_cursor_update = false,
}

auto_hide hides the windows after they opened until require('cmp.utils.window').show_all() is called or when the cursor moves in the menu if show_on_cursor_update is true. However show_on_cursor_update doesn't work well because the cursor doesn't move with a pre-selected item,

Sam-programs avatar Feb 17 '24 11:02 Sam-programs

Thanks for the work on this branch, I've been using it for a couple of months and forgot to check if it got merged in but it looks like it hasn't. Would it be possible to get this reviewed and merged in? Might need more work since it looks like it has merge conflicts and not sure if the creator of the branch is still around but if they're not I can clean up any issues and resubmit. Thank you.

sleepy-day avatar Jun 23 '24 10:06 sleepy-day

not sure if the creator of the branch is still around but if they're not I can clean up any issues

I am still here, but I don't plan to work on this pr anymore because I don't use cmp anymore. Sorry.

Sam-programs avatar Jun 24 '24 19:06 Sam-programs