Skip to content

shun/ddu-source-rg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddu-source-rg

ripgrep source for ddu.vim.

Required

denops.vim

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

ddu.vim

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

ripgrep

https://github.com/BurntSushi/ripgrep

kensaku.vim (Optional)

Required if you want to use Migemo.

https://github.com/lambdalisue/kensaku.vim

Configuration

call ddu#custom#patch_global(#{
    \   sourceParams : #{
    \     rg : #{
    \       args: ['--column', '--no-heading', '--color', 'never'],
    \     },
    \   },
    \ })

if you want to highlight the search word, should be set "--json".

e.g.

call ddu#custom#patch_global(#{
    \   sourceParams: #{
    \     rg: #{
    \       args: ['--json'],
    \     },
    \   },
    \ })

if you want to use Migemo as input pattern, should be set "migemo" to inputType.

e.g.

call ddu#custom#patch_global(#{
    \   sourceParams: #{
    \     rg: #{
    \       inputType: 'migemo',
    \     },
    \   },
    \ })

Author

KUDO Shunsuke (skudo_xx)

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published