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"]
|
||||
path = pack/vendor/start/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 ''
|
||||
endfunction
|
||||
|
||||
packloadall
|
||||
|
||||
call ale#linter#Define('vala', {
|
||||
\ 'name': 'vala-language-server',
|
||||
\ 'lsp': 'stdio',
|
||||
|
@ -79,7 +81,7 @@ let g:ale_go_langserver_executable = 'gopls'
|
|||
|
||||
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_text_changed = 'never'
|
||||
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
|
Loading…
Reference in New Issue
Block a user