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: over 1 year ago
JSON representation
Remove overlapped text converter for ddc.vim
- Host: GitHub
- URL: https://github.com/shougo/ddc-filter-converter_remove_overlap
- Owner: Shougo
- License: mit
- Created: 2021-08-05T00:25:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T04:36:29.000Z (almost 2 years ago)
- Last Synced: 2025-03-17T23:51:47.289Z (over 1 year ago)
- Topics: ddc-filter, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 12.7 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'],
\ })
```