hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
567 stars 45 forks source link

FR: extends command items that not really exists #103

Closed zhaozg closed 1 year ago

zhaozg commented 1 year ago

Thanks you great nvim-cmp, and I used heavily.

When I use CmdUndefined to do some plugins lazy-load, just like type Android to load vim-android plugins. But cmp-cmdline not extract command items from CmdUndefined settings.

So please cmp-cmdline do somethings to support that, or make https://github.com/hrsh7th/cmp-cmdline/blob/main/lua/cmp_cmdline/init.lua#L153 accept items paramater not really in commands lists.

If need, I willing make a RP for this issue.

image
zhaozg commented 1 year ago

Close by alternative way.