Added a bunch of async stuff to vimrc
This commit is contained in:
parent
227e24a494
commit
626d3ce214
1 changed files with 33 additions and 3 deletions
36
vim/vimrc
36
vim/vimrc
|
@ -18,11 +18,19 @@ endif
|
|||
|
||||
call plug#begin('~/.config/nvim/plugged')
|
||||
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
"Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
"LSP Stuff
|
||||
Plug 'prabirshrestha/async.vim'
|
||||
Plug 'prabirshrestha/vim-lsp'
|
||||
Plug 'ryanolsonx/vim-lsp-python'
|
||||
Plug 'ryanolsonx/vim-lsp-typescript'
|
||||
Plug 'prabirshrestha/asyncomplete.vim'
|
||||
Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
||||
|
||||
Plug 'machakann/vim-highlightedyank'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
"Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'morhetz/gruvbox'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'mhinz/vim-signify'
|
||||
|
@ -52,5 +60,27 @@ if executable('rg')
|
|||
endif
|
||||
|
||||
"Deoplete
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
"let g:deoplete#enable_at_startup = 1
|
||||
"let g:python3_host_prog = '/Users/acicchetti/.pyenv/versions/3.7.0/bin/python'
|
||||
|
||||
"LSP stuff
|
||||
"Ruby
|
||||
if executable('solargraph')
|
||||
" gem install solargraph
|
||||
au User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'solargraph',
|
||||
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'solargraph stdio']},
|
||||
\ 'initialization_options': {"diagnostics": "true"},
|
||||
\ 'whitelist': ['ruby'],
|
||||
\ })
|
||||
endif
|
||||
"Rust
|
||||
if executable('rls')
|
||||
au User lsp_setup call lsp#register_server({
|
||||
\ 'name': 'rls',
|
||||
\ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']},
|
||||
\ 'whitelist': ['rust'],
|
||||
\ })
|
||||
endif
|
||||
let g:asynccomplete_smart_completion = 1
|
||||
let g:asynccomplete_auto_popup = 1
|
||||
|
|
Loading…
Add table
Reference in a new issue