commit
114d4467cb
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue