Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shougo/ddc-filter-converter_remove_overlap

Remove overlapped text converter for ddc.vim
https://github.com/shougo/ddc-filter-converter_remove_overlap

ddc-filter ddc-vim

Last synced: 2 months ago
JSON representation

Remove overlapped text converter for ddc.vim

Awesome Lists containing this project

README

        

# ddc-filter-converter_remove_overlap

Removes overlapped text for ddc.vim

The filter removes overlapped text in a candidate's word.

For example if you want to complete "foobar" before "bar", only "foo" is
inserted. Because "bar" is already inserted in the text. It is useful if you
want to replace texts.

## 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('sourceOptions', #{
\ _: #{
\ converters: ['converter_remove_overlap'],
\ })
```