Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milly/ddu-filter-merge
Merge multiple filters for ddu.vim
https://github.com/milly/ddu-filter-merge
ddu-filter ddu-vim vim vim-denops
Last synced: 3 months ago
JSON representation
Merge multiple filters for ddu.vim
- Host: GitHub
- URL: https://github.com/milly/ddu-filter-merge
- Owner: Milly
- License: mit
- Created: 2023-01-19T06:40:19.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T17:26:59.000Z (6 months ago)
- Last Synced: 2024-08-01T19:51:17.461Z (6 months ago)
- Topics: ddu-filter, ddu-vim, vim, vim-denops
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddu-filter-merge
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
[![Vim doc](https://img.shields.io/badge/doc-%3Ah%20ddu--filter--merge-orange.svg?style=flat-square&logo=vim)](doc/ddu-filter-merge.txt)Merge output items from multiple filters for ddu.vim.
## Required
It depends on the following plugins.
- [denops.vim][]
- [ddu.vim][]
- Your favorite [ddu-filter][] plugins.## Installation
1. Install [Deno][].
2. Install plugins using [vim-plug][] etc.```
Plug 'vim-denops/denops.vim'
Plug 'Shougo/ddu.vim'
Plug 'Milly/ddu-filter-merge'" And your favorite ddu-filter plugins
Plug 'Milly/ddu-filter-kensaku'
Plug 'kuuote/ddu-filter-fuse'
```## Configuration
Configure ddu.vim.
```vim
call ddu#custom#patch_global('sourceOptions', #{
\ _: #{
\ matchers: ['merge'],
\ },
\})call ddu#custom#patch_global('filterParams', #{
\ merge: #{
\ filters: [
\ #{name: 'matcher_kensaku', weight: 2.0},
\ 'matcher_fuse',
\ ],
\ unique: v:true,
\ },
\})
```[Deno]: https://deno.land/
[ddu-filter]: https://github.com/topics/ddu-filter
[ddu.vim]: https://github.com/Shougo/ddu.vim
[denops.vim]: https://github.com/vim-denops/denops.vim
[vim-plug]: https://github.com/junegunn/vim-plug