languageclient => ale
This commit is contained in:
parent
035477810c
commit
3fa679753c
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -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
1
.vim/bundle/ale
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 36e5337e30095afb10d02ef2ae362c8d6055e70d
|
@ -2,39 +2,45 @@
|
||||
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 = {
|
||||
\ 'bg': ['bg', 'Normal'],
|
||||
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
|
||||
\ 'border': ['fg', 'Ignore'],
|
||||
\ 'fg': ['fg', 'Normal'],
|
||||
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
|
||||
\ 'header': ['fg', 'Comment'],
|
||||
\ 'hl': ['fg', 'Comment'],
|
||||
\ 'hl+': ['fg', 'Statement'],
|
||||
\ 'info': ['fg', 'PreProc'],
|
||||
\ 'marker': ['fg', 'Keyword'],
|
||||
\ 'pointer': ['fg', 'Exception'],
|
||||
\ 'prompt': ['fg', 'Conditional'],
|
||||
\ 'spinner': ['fg', 'Label'],
|
||||
\ }
|
||||
\ 'bg': ['bg', 'Normal'],
|
||||
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
|
||||
\ 'border': ['fg', 'Ignore'],
|
||||
\ 'fg': ['fg', 'Normal'],
|
||||
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
|
||||
\ 'header': ['fg', 'Comment'],
|
||||
\ 'hl': ['fg', 'Comment'],
|
||||
\ 'hl+': ['fg', 'Statement'],
|
||||
\ 'info': ['fg', 'PreProc'],
|
||||
\ 'marker': ['fg', 'Keyword'],
|
||||
\ 'pointer': ['fg', 'Exception'],
|
||||
\ 'prompt': ['fg', 'Conditional'],
|
||||
\ 'spinner': ['fg', 'Label'],
|
||||
\ }
|
||||
|
||||
" vim-airline
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
|
Loading…
Reference in New Issue
Block a user