hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
8.17k stars 410 forks source link

[feature request] Completions on prompt #1171

Closed pro-anon closed 2 years ago

pro-anon commented 2 years ago

FAQ

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

Shougo commented 2 years ago

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

shadyalfred commented 2 years ago

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

Shougo commented 2 years ago

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.

hrsh7th commented 2 years ago

Sorry. I don't plant this.