Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Shougo/ddc-source-line

Line completion for ddc.vim
https://github.com/Shougo/ddc-source-line

ddc-source ddc-vim

Last synced: about 2 months ago
JSON representation

Line completion for ddc.vim

Awesome Lists containing this project

README

        

# ddc-source-line

Line completion for ddc.vim

This source collects items from current buffer lines.

## Required

### denops.vim

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

### ddc.vim

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

## Configuration

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

call ddc#custom#patch_global('sourceOptions', #{
\ line: #{ mark: 'line' },
\ })
call ddc#custom#patch_global('sourceParams', #{
\ line: #{ maxSize: 1000 },
\ })
```