Nonblocking vim plugin install

This commit is contained in:
Cyryl Płotnicki 2019-06-08 11:17:47 +01:00
parent b1b8dcc60b
commit 52e9ed2def
2 changed files with 5 additions and 8 deletions

View file

@ -16,6 +16,7 @@ Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'godlygeek/tabular' Plug 'godlygeek/tabular'
Plug 'https://github.com/cyplo/vim-colors-solarized.git' Plug 'https://github.com/cyplo/vim-colors-solarized.git'
Plug 'jremmen/vim-ripgrep' Plug 'jremmen/vim-ripgrep'
Plug 'neoclide/coc.nvim', {'tag': '*', 'do': './install.sh'}
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
@ -23,12 +24,6 @@ Plug 'LnL7/vim-nix'
Plug 'mhinz/vim-startify' Plug 'mhinz/vim-startify'
Plug 'mileszs/ack.vim' Plug 'mileszs/ack.vim'
Plug 'plasticboy/vim-markdown' Plug 'plasticboy/vim-markdown'
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
Plug 'timonv/vim-cargo' Plug 'timonv/vim-cargo'

View file

@ -142,6 +142,7 @@ if [[ -z $NORUST ]]; then
(test -x "${HOME}/.cargo/bin/cargo-install-update" || cargo install cargo-update) (test -x "${HOME}/.cargo/bin/cargo-install-update" || cargo install cargo-update)
(test -x "${HOME}/.cargo/bin/rg" || cargo install ripgrep) (test -x "${HOME}/.cargo/bin/rg" || cargo install ripgrep)
(test -x "${HOME}/.cargo/bin/fd" || cargo install fd-find) (test -x "${HOME}/.cargo/bin/fd" || cargo install fd-find)
(test -x "${HOME}/.cargo/bin/bat" || cargo install bat)
(test -x "${HOME}/.cargo/bin/genpass" || cargo install genpass) (test -x "${HOME}/.cargo/bin/genpass" || cargo install genpass)
set +e set +e
@ -200,8 +201,9 @@ if [[ -z $NOVIM ]]; then
~/.fzf/install --64 --all ~/.fzf/install --64 --all
fi fi
echo "Installing Vim plugins" echo "Installing Vim plugins"
echo "\n" | vim +PlugClean! +qa vim +PlugUpgrade +qa
echo "\n" | vim +PlugInstall! +qa vim +PlugUpdate +qa
vim +PlugClean! +qa
fi fi
if [[ -z $NO_GO ]]; then if [[ -z $NO_GO ]]; then