https://github.com/shougo/ddc-source-copilot
Copilot completion for ddc.vim
https://github.com/shougo/ddc-source-copilot
ddc-source ddc-vim
Last synced: 10 months ago
JSON representation
Copilot completion for ddc.vim
- Host: GitHub
- URL: https://github.com/shougo/ddc-source-copilot
- Owner: Shougo
- License: mit
- Created: 2022-10-06T10:25:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T09:44:03.000Z (10 months ago)
- Last Synced: 2025-03-17T23:51:44.995Z (10 months ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 23.4 KB
- Stars: 18
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-copilot
Copilot completion for ddc.vim
NOTE: It is based on "ddc-copilot".
https://github.com/yuki-yano/ddc-copilot
## Required
### copilot.vim or copilot.lua
https://github.com/github/copilot.vim
https://github.com/zbirenbaum/copilot.lua
### denops.vim
https://github.com/vim-denops/denops.vim
### ddc.vim
https://github.com/Shougo/ddc.vim
## Configuration
```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',
\ }
\ })
```