diff --git a/.gitmodules b/.gitmodules index 1ea1558..de5a409 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/config/ale.vim b/config/ale.vim index 4d58b61..face3dd 100644 --- a/config/ale.vim +++ b/config/ale.vim @@ -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 diff --git a/pack/vendor/start/ale b/pack/vendor/start/ale new file mode 160000 index 0000000..a4ba421 --- /dev/null +++ b/pack/vendor/start/ale @@ -0,0 +1 @@ +Subproject commit a4ba421803d030a8967ede111ce921d439aa5fbb diff --git a/vimrc b/vimrc index 098249a..f924cd2 100644 --- a/vimrc +++ b/vimrc @@ -17,6 +17,7 @@ let g:python_host_prog='/usr/bin/python' """ source " all other includes are in alphabetical order +source $VIMHOME/config/ale.vim source $VIMHOME/config/fzf.vim source $VIMHOME/config/indent.vim source $VIMHOME/config/language-client.vim