Merge pull request #49 from cyplo/ripgrep

added ripgrep
This commit is contained in:
Cyryl Płotnicki 2016-09-25 08:16:37 +02:00 committed by GitHub
commit 114d4467cb
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