ddu-filter-matcher_substring
ddu-filter-matcher_substring copied to clipboard
Substring matcher for ddu.vim
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
" Use matcher_substring filter.
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',
\ },
\ }
\ })