hrsh7th / cmp-cmdline

nvim-cmp source for vim's cmdline
MIT License
493 stars 42 forks source link

FR: extends command items that not really exists #103

Closed zhaozg closed 11 months ago

zhaozg commented 11 months 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 11 months ago

Close by alternative way.