languageclient => ale

This commit is contained in:
Alex Yatskov 2020-04-26 20:57:47 -07:00
parent 035477810c
commit 3fa679753c
4 changed files with 32 additions and 26 deletions

6
.gitmodules vendored
View File

@ -115,6 +115,6 @@
[submodule ".vim/bundle/ListToggle"]
path = .vim/bundle/ListToggle
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
[submodule ".vim/bundle/ale"]
path = .vim/bundle/ale
url = https://github.com/dense-analysis/ale.git

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

1
.vim/bundle/ale Submodule

@ -0,0 +1 @@
Subproject commit 36e5337e30095afb10d02ef2ae362c8d6055e70d

View File

@ -2,22 +2,28 @@
runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect('bundle/{}')
" ale
let g:ale_linters_explicit = 1
let g:ale_linters = {
\ 'c': ['ccls'],
\ 'cpp': ['ccls'],
\ 'go': ['gopls'],
\ 'python': ['pyls'],
\ }
let g:ale_cpp_ccls_init_options = {
\ 'cacheDirectory': '/tmp/ccls',
\ 'cacheFormat': 'binary',
\ }
" deoplete.nvim
if has('python3')
let g:deoplete#enable_at_startup = 1
if len($PYTHON3_HOST_PROG) > 0
let g:python3_host_prog=$PYTHON3_HOST_PROG
endif
call deoplete#custom#option('sources', {'_': ['ale']})
endif
" LanguageClient-neovim
let g:LanguageClient_serverCommands = {
\ 'c': ['ccls'],
\ 'cpp': ['ccls'],
\ 'go': ['gopls'],
\ 'python': ['pyls'],
\ }
" fzf
let $FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f -g "" 2> /dev/null'
let g:fzf_colors = {