Refresh plugins list

This commit is contained in:
Cyryl Płotnicki 2018-05-27 23:07:20 +01:00
parent 86aa2df6ae
commit 29fb3756cd
4 changed files with 17 additions and 9 deletions

View file

@ -31,6 +31,14 @@ if executable('rg')
set grepprg=rg\ --vimgrep set grepprg=rg\ --vimgrep
endif endif
if executable('rls')
au User lsp_setup call lsp#register_server({
\ 'name': 'rls',
\ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']},
\ 'whitelist': ['rust'],
\ })
endif
" fzf " fzf
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0) command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0)
nmap <C-n> :Find nmap <C-n> :Find

View file

@ -1,20 +1,21 @@
Plug 'https://github.com/cyplo/vim-colors-solarized.git' Plug 'https://github.com/cyplo/vim-colors-solarized.git'
Plug 'mileszs/ack.vim' Plug 'mileszs/ack.vim'
Plug 'scrooloose/nerdtree.git'
Plug 'scrooloose/syntastic.git'
Plug 'wting/rust.vim'
Plug 'sjl/splice.vim.git'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'timonv/vim-cargo' Plug 'timonv/vim-cargo'
Plug 'kien/ctrlp.vim' Plug 'kien/ctrlp.vim'
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'will133/vim-dirdiff' Plug 'will133/vim-dirdiff'
Plug 'tpope/vim-dispatch.git' Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-fugitive.git' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-sensible' Plug 'tpope/vim-sensible'
Plug 'tpope/vim-cucumber' Plug 'tpope/vim-cucumber'
Plug 'airblade/vim-gitgutter.git' Plug 'airblade/vim-gitgutter'
Plug 'godlygeek/tabular' Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown' Plug 'plasticboy/vim-markdown'
Plug 'mhinz/vim-startify' Plug 'mhinz/vim-startify'
Plug 'rust-lang/rust.vim'
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'

View file

@ -1 +0,0 @@
Plug 'Valloric/YouCompleteMe'

View file

@ -159,7 +159,7 @@ 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 +PluginInstall! +qa echo "\n" | vim +PlugInstall! +qa
if [[ -z $NOYCM ]]; then if [[ -z $NOYCM ]]; then
echo "configuring YouCompleteMe" echo "configuring YouCompleteMe"