aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/after/plugin/ale.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/.vim/after/plugin/ale.vim b/.vim/after/plugin/ale.vim
index 14f9e7f..f8c210e 100644
--- a/.vim/after/plugin/ale.vim
+++ b/.vim/after/plugin/ale.vim
@@ -1,4 +1,4 @@
-" let g:ale_linters_explicit = 1
+let g:ale_linters_explicit = 1
let g:ale_completion_enabled = 1
let g:ale_completion_autoimport = 1
let g:ale_completion_delay = 500
@@ -15,6 +15,11 @@ let g:ale_cpp_gcc_options = '-Wall -O2 -std=c++14'
let g:ale_c_cppcheck_options = ''
let g:ale_cpp_cppcheck_options = ''
+let g:ale_linters = {
+ \ 'c': ['clangd', 'cc', 'ccls'],
+ \ 'go': ['gopls'],
+ \ }
+
let g:airline#extensions#ale#enabled = 1
nmap <silent> [g <Plug>(ale_previous_wrap)