ddc-line icon indicating copy to clipboard operation
ddc-line copied to clipboard

Line completion for ddc.vim

ddc-line

Line completion for ddc.vim

This source collects candidates from current buffer lines.

Required

denops.vim

https://github.com/vim-denops/denops.vim

ddc.vim

https://github.com/Shougo/ddc.vim

Configuration

call ddc#custom#patch_global('sources', ['line'])

" Change source options
call ddc#custom#patch_global('sourceOptions', {
      \ 'line': {'mark': 'line'},
      \ })
call ddc#custom#patch_global('sourceParams', {
      \ 'line': {'maxSize': 1000},
      \ })