I'm afraid that's not possible right now. The problem is cmp-cmdline only works in commandline-mode.
The solution to this is to make cmp-cmdline work in a normal buffer. So... you (not me) would need to create a new nvim-cmp source that has the same features as cmp-cmdline.
Let's imagine you already created this new source, here is what you'll do to make it work (in theory).
I'm afraid that's not possible right now. The problem is cmp-cmdline only works in
commandline-mode
.The solution to this is to make
cmp-cmdline
work in a normal buffer. So... you (not me) would need to create a newnvim-cmp
source that has the same features ascmp-cmdline
.Let's imagine you already created this new source, here is what you'll do to make it work (in theory).