Command history completion for ddc.vim
This source collects items from histget(). It is useful for command line
completion.
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddc.vim
call ddc#custom#patch_global('sources', ['cmdline_history'])
call ddc#custom#patch_global('sorters', ['sorter_cmdline_history'])
call ddc#custom#patch_global('sourceOptions', #{
\ cmdline_history: #{ mark: 'history' },
\ })