Add ale
This commit is contained in:
parent
90a23b7842
commit
5da8df7b7e
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -74,3 +74,6 @@
|
||||||
[submodule "pack/vendor/start/rust.vim"]
|
[submodule "pack/vendor/start/rust.vim"]
|
||||||
path = pack/vendor/start/rust.vim
|
path = pack/vendor/start/rust.vim
|
||||||
url = https://github.com/rust-lang/rust.vim
|
url = https://github.com/rust-lang/rust.vim
|
||||||
|
[submodule "pack/vendor/start/ale"]
|
||||||
|
path = pack/vendor/start/ale
|
||||||
|
url = https://github.com/dense-analysis/ale
|
||||||
|
|
|
@ -53,6 +53,8 @@ function! s:getValaProjectRoot(buffer) abort
|
||||||
return ''
|
return ''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
packloadall
|
||||||
|
|
||||||
call ale#linter#Define('vala', {
|
call ale#linter#Define('vala', {
|
||||||
\ 'name': 'vala-language-server',
|
\ 'name': 'vala-language-server',
|
||||||
\ 'lsp': 'stdio',
|
\ 'lsp': 'stdio',
|
||||||
|
@ -79,7 +81,7 @@ let g:ale_go_langserver_executable = 'gopls'
|
||||||
|
|
||||||
let g:airline#extensions#ale#enabled = 1
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_completion_enabled = 0
|
||||||
let g:ale_lint_on_enter = 0
|
let g:ale_lint_on_enter = 0
|
||||||
let g:ale_lint_on_text_changed = 'never'
|
let g:ale_lint_on_text_changed = 'never'
|
||||||
highlight ALEErrorSign ctermbg=NONE ctermfg=red
|
highlight ALEErrorSign ctermbg=NONE ctermfg=red
|
||||||
|
|
1
pack/vendor/start/ale
vendored
Submodule
1
pack/vendor/start/ale
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a4ba421803d030a8967ede111ce921d439aa5fbb
|
1
vimrc
1
vimrc
|
@ -17,6 +17,7 @@ let g:python_host_prog='/usr/bin/python'
|
||||||
""" source
|
""" source
|
||||||
|
|
||||||
" all other includes are in alphabetical order
|
" all other includes are in alphabetical order
|
||||||
|
source $VIMHOME/config/ale.vim
|
||||||
source $VIMHOME/config/fzf.vim
|
source $VIMHOME/config/fzf.vim
|
||||||
source $VIMHOME/config/indent.vim
|
source $VIMHOME/config/indent.vim
|
||||||
source $VIMHOME/config/language-client.vim
|
source $VIMHOME/config/language-client.vim
|
||||||
|
|
Loading…
Reference in New Issue
Block a user