views:

23

answers:

0

What is the best way to use zsh completion outside zsh? I know that I can redefine compadd builtin with custom function and parse its options, but is there a better way?

I want to add omni completion for shell scripts to Vim based on zsh completion system.