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

[feature request] Completions on prompt

Open pro-anon opened this issue 2 years ago • 3 comments

FAQ

  • [X] I have checked the FAQ and it didn't resolve my problem.

Announcement

Minimal reproducible full config

Description

Support completions with prompts, input()

https://github.com/neovim/neovim/pull/18284

Steps to reproduce

Completions don't appear in prompts made with vim.fn.input()

Expected behavior

Completions, specially path completions, appear in prompts invoked with input()

Actual behavior

No completions appear

Additional context

No response

pro-anon avatar Sep 02 '22 03:09 pro-anon

https://github.com/hrsh7th/nvim-cmp/issues/938

Shougo avatar Sep 02 '22 04:09 Shougo

Is installing ddc.vim, ddc-cmdline, and pum.vim enough to make completions work with nvim-cmp or is this just for your alternative completion framework ddc? @Shougo

shadyalfred avatar Sep 03 '22 16:09 shadyalfred

nvim-cmp uses original popup menu framework. So nvim-cmp cannot use it. nvim-cmp already implement ddc-cmdline feature. ddc-input feature is needed.

Shougo avatar Sep 04 '22 02:09 Shougo

Sorry. I don't plant this.

hrsh7th avatar Oct 02 '22 10:10 hrsh7th