Copilot completion for ddc.vim
NOTE: It is based on "ddc-copilot".
https://github.com/yuki-yano/ddc-copilot
https://github.com/github/copilot.vim
https://github.com/zbirenbaum/copilot.lua
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddc.vim
let g:copilot_no_maps = v:true
call ddc#custom#patch_global('sources', ['copilot'])
call ddc#custom#patch_global('sourceOptions', #{
\ copilot: #{
\ mark: 'copilot',
\ matchers: [],
\ minAutoCompleteLength: 0,
\ }
\ })
call ddc#custom#patch_global('sourceParams', #{
\ copilot: #{
\ copilot: 'vim',
\ }
\ })