Ignore specified items matcher for ddu.vim
This matcher filters specified items.
https://github.com/vim-denops/denops.vim
https://github.com/Shougo/ddu.vim
call ddu#custom#patch_global(#{
\ sourceOptions: #{
\ _: #{
\ matchers: ['matcher_ignores'],
\ },
\ }
\ })
" Ignore current buffer
call ddu#custom#patch_global(#{
\ filterParams: #{
\ _: #{
\ ignores: '%'->bufname()->fnamemodify(':p'),
\ actionKey: 'path',
\ },
\ }
\ })