Switch to languageclient

This commit is contained in:
Alex Yatskov 2020-04-16 21:12:40 -07:00
parent f2a3782b19
commit 5dd6f0bb21
9 changed files with 22 additions and 36 deletions

18
.gitmodules vendored
View File

@ -103,15 +103,6 @@
[submodule ".vim/bundle_extra/vim-hug-neovim-rpc"] [submodule ".vim/bundle_extra/vim-hug-neovim-rpc"]
path = .vim/bundle/vim-hug-neovim-rpc path = .vim/bundle/vim-hug-neovim-rpc
url = https://github.com/roxma/vim-hug-neovim-rpc url = https://github.com/roxma/vim-hug-neovim-rpc
[submodule ".vim/bundle_extra/deoplete-go"]
path = .vim/bundle/deoplete-go
url = https://github.com/deoplete-plugins/deoplete-go.git
[submodule ".vim/bundle_extra/deoplete-clangx"]
path = .vim/bundle/deoplete-clangx
url = https://github.com/Shougo/deoplete-clangx.git
[submodule ".vim/bundle/deoplete-jedi"]
path = .vim/bundle/deoplete-jedi
url = https://github.com/deoplete-plugins/deoplete-jedi.git
[submodule ".vim/bundle/base16-vim"] [submodule ".vim/bundle/base16-vim"]
path = .vim/bundle/base16-vim path = .vim/bundle/base16-vim
url = https://github.com/chriskempson/base16-vim.git url = https://github.com/chriskempson/base16-vim.git
@ -124,12 +115,9 @@
[submodule ".vim/bundle/vim-angry"] [submodule ".vim/bundle/vim-angry"]
path = .vim/bundle/vim-angry path = .vim/bundle/vim-angry
url = https://github.com/b4winckler/vim-angry.git url = https://github.com/b4winckler/vim-angry.git
[submodule ".vim/bundle/deoplete-ternjs"]
path = .vim/bundle/deoplete-ternjs
url = https://github.com/carlitux/deoplete-ternjs
[submodule ".vim/bundle/neco-vim"]
path = .vim/bundle/neco-vim
url = https://github.com/Shougo/neco-vim.git
[submodule ".vim/bundle/ListToggle"] [submodule ".vim/bundle/ListToggle"]
path = .vim/bundle/ListToggle path = .vim/bundle/ListToggle
url = https://github.com/Valloric/ListToggle.git url = https://github.com/Valloric/ListToggle.git
[submodule ".vim/bundle/LanguageClient-neovim"]
path = .vim/bundle/LanguageClient-neovim
url = https://github.com/autozimu/LanguageClient-neovim.git

@ -0,0 +1 @@
Subproject commit 6fd97344926463bfd7c71e4fc3a9f2dc3480f3df

@ -1 +0,0 @@
Subproject commit 602d48fb88ce1384c718fac1da2b833bedbeee48

@ -1 +0,0 @@
Subproject commit 4f1ccd2ed70211fd025d052ec725c0b835bea487

@ -1 +0,0 @@
Subproject commit 42f4c24a951b0fb5e76a70e5234f16193a8a746d

@ -1 +0,0 @@
Subproject commit 5405e84a44fc4ab5234c9a253ad4aa2b161e5897

@ -1 +0,0 @@
Subproject commit 4fbc3f5f3a2b2d5299c388e2f1ffef04fcaf87ba

View File

@ -15,22 +15,29 @@ if has('python3')
endif endif
endif endif
" LanguageClient-neovim
let g:LanguageClient_serverCommands = {
\ 'go': ['gopls'],
\ 'python': ['pyls'],
\ }
" fzf " fzf
let $FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f -g "" 2> /dev/null' let $FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f -g "" 2> /dev/null'
let g:fzf_colors = let g:fzf_colors = {
\ { 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'], \ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Comment'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'border': ['fg', 'Ignore'],
\ 'fg': ['fg', 'Normal'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'header': ['fg', 'Comment'],
\ 'hl': ['fg', 'Comment'],
\ 'hl+': ['fg', 'Statement'], \ 'hl+': ['fg', 'Statement'],
\ 'info': ['fg', 'PreProc'], \ 'info': ['fg', 'PreProc'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Conditional'],
\ 'pointer': ['fg', 'Exception'],
\ 'marker': ['fg', 'Keyword'], \ 'marker': ['fg', 'Keyword'],
\ 'pointer': ['fg', 'Exception'],
\ 'prompt': ['fg', 'Conditional'],
\ 'spinner': ['fg', 'Label'], \ 'spinner': ['fg', 'Label'],
\ 'header': ['fg', 'Comment'] } \ }
" vim-airline " vim-airline
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1

View File

@ -1,15 +1,10 @@
#!/bin/bash #!/bin/bash
git submodule update --init --recursive git submodule update --init --recursive
if [ -x "$(command -v pip2)" ]; then
pip2 install --user pyflakes
fi
if [ -x "$(command -v pip3)" ]; then if [ -x "$(command -v pip3)" ]; then
pip3 install --user pynvim pip3 install --user pynvim
fi fi
if [ -x "$(command -v npm)" ]; then pushd ./.vim/bundle/LanguageClient-neovim
sudo npm install -g tern ./install.sh
fi popd