added ripgrep

This commit is contained in:
Cyryl Płotnicki 2016-09-24 15:39:40 +02:00
parent 02ecae8376
commit 2d0d701bcb
2 changed files with 5 additions and 1 deletions

View file

@ -19,11 +19,14 @@ let g:airline#extensions#tabline#enabled = 1
" plugins: rust " plugins: rust
let g:rustfmt_autosave = 1 let g:rustfmt_autosave = 1
" plugins: ag/ack
if executable('ag') if executable('ag')
let g:ackprg = 'ag --vimgrep' let g:ackprg = 'ag --vimgrep'
endif endif
if executable('rg')
let g:ackprg = 'rg --no-heading --vimgrep'
endif
" appearance " appearance
set number set number
set relativenumber set relativenumber

View file

@ -101,6 +101,7 @@ if [[ -z $NORUST ]]; then
cargo install -j $jobs_count -f rustfmt cargo install -j $jobs_count -f rustfmt
cargo install -j $jobs_count -f racer cargo install -j $jobs_count -f racer
cargo install -j $jobs_count -f rustsym cargo install -j $jobs_count -f rustsym
cargo install -j $jobs_count -f ripgrep
fi fi
if [[ -z $NORUBY ]]; then if [[ -z $NORUBY ]]; then