gelguy / Cmd2.vim

cmdline-mode enhancement for Vim
MIT License
94 stars 4 forks source link

Neovim async support #16

Open alem0lars opened 7 years ago

alem0lars commented 7 years ago

Does Cmd2 support neovim async functionality?

It would be very useful for completing long lists, like help (:he ..).

gelguy commented 7 years ago

Unfortunately no.

The completion comes from using Vim's own wildmenu completion so it is possible to run a headless Vim in the background and gather the completions asynchronously.

While it is possible, now with Nvim's update to allow async callbacks during getchar(), some rewrites need to be done to the cmdline rendering framework. It would be nice to support Vim 8's async as well.

Unfortunately, I do not see myself committing time to this at the moment.

alem0lars commented 7 years ago

Async support could also solve slowness problems.