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

[Question] Completition window popup following the cursor

Open leandrocunha opened this issue 1 year ago • 8 comments

It's possible to make the competition window popup, following the cursor while type?

leandrocunha avatar Jul 18 '23 08:07 leandrocunha

You should upload the example.

Shougo avatar Jul 18 '23 21:07 Shougo

For reference

https://github.com/lvimuser/nvim-cmp/commit/7569056388417d887baf2e959e18a767bcfe84f1

lvimuser avatar Aug 10 '23 10:08 lvimuser

Can you upload the screenshot? And why the feature is useful?

Shougo avatar Aug 10 '23 10:08 Shougo

https://github.com/hrsh7th/nvim-cmp/assets/109605931/78f122ff-8c4b-4367-8818-fd4788081d8a

Not sure if useful? It looks a bit nicer, imo.

lvimuser avatar Aug 10 '23 11:08 lvimuser

Why isnt this just added as an option? It is literally -3 lines of code.

ertucode avatar Oct 15 '23 19:10 ertucode

You can make the PR for it.

Shougo avatar Oct 15 '23 21:10 Shougo

Created a PR (with @lvimuser as coauthor, thank you for the critical piece of source) which adds this as an option for the custom entries view, set to false by default. I want this feature.

mcauley-penney avatar Oct 15 '23 23:10 mcauley-penney

Created a PR (with @lvimuser as coauthor, thank you for the critical piece of source) which adds this as an option for the custom entries view, set to false by default. I want this feature.

thank you guys

leandrocunha avatar Oct 16 '23 06:10 leandrocunha