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

WIP: Separate view implementation and configuration

Open hrsh7th opened this issue 3 years ago • 4 comments

  • Remove wildmenu view from this repo.
  • Remove ghost_menu view from this repo.
  • Remove config.window and modify config.view.

hrsh7th avatar Aug 14 '22 17:08 hrsh7th

Remove wildmenu view from this repo. Remove ghost_menu view from this repo.

All views split out to another plugin?

Shougo avatar Aug 15 '22 00:08 Shougo

No. Perhaps just leave the default menu view.

lua/
  cmp/
  cmp-default-view/

hrsh7th avatar Aug 15 '22 02:08 hrsh7th

Why remove the views? do you plan on supporting adding them back in a plugin repo?

tzachar avatar Aug 21 '22 07:08 tzachar

I think wildmenu is excellent in combination with ghost_text, because 90% of the time I just want to use the first completion, and I don't want the full menu popping up every time I type. I have a mapping to manually show the custom view.

If you're removing wildmenu, would you consider adding a small bit to the documentation in the Develop section about how other developers can create their own views for cmp?

dansalvato avatar Aug 22 '22 20:08 dansalvato