Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shougo/ddu-filter-matcher_substring

Substring matcher for ddu.vim
https://github.com/shougo/ddu-filter-matcher_substring

ddu-filter ddu-vim

Last synced: 11 days ago
JSON representation

Substring matcher for ddu.vim

Awesome Lists containing this project

README

        

# ddu-filter-matcher_substring

Substring matcher for ddu.vim

This matcher filters substring matched items.

## Required

### denops.vim

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

### ddu.vim

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

## Configuration

```vim
call ddu#custom#patch_global(#{
\ sourceOptions: #{
\ _: #{
\ matchers: ['matcher_substring'],
\ },
\ }
\ })

" Enable highlight matched text
" Note: It is slow
call ddu#custom#patch_global(#{
\ filterParams: #{
\ matcher_substring: #{
\ highlightMatched: 'Search',
\ },
\ }
\ })
```