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-around

Around completion for ddc.vim
https://github.com/Shougo/ddc-source-around

ddc-source ddc-vim

Last synced: 4 days ago
JSON representation

Around completion for ddc.vim

Awesome Lists containing this project

README

        

# ddc-source-around

Around completion for ddc.vim

This source collects items around the cursor, namely inside current buffer.

## 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', ['around'])

call ddc#custom#patch_global('sourceOptions', #{
\ around: #{ mark: 'A' },
\ })
call ddc#custom#patch_global('sourceParams', #{
\ around: #{ maxSize: 500 },
\ })
```