From c22e593950e9cbbcb58d6c2591bec3da363a4997 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 25 Oct 2023 00:22:35 +0800 Subject: Make ALE configure linters itself --- .vim/after/plugin/ale.vim | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to '.vim/after/plugin/ale.vim') diff --git a/.vim/after/plugin/ale.vim b/.vim/after/plugin/ale.vim index e39d368..3103ef9 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 = 0 let g:ale_echo_msg_format = '[%linter%] %code: %%s' let g:ale_lint_on_text_changed = 'normal' let g:ale_lint_on_insert_leave = 1 @@ -7,12 +7,6 @@ let g:ale_sign_warning = 'W>' let g:ale_hover_cursor = 0 let g:ale_virtualtext_cursor = 1 -let g:ale_linters = { - \ 'c': ['clangd', 'cc', 'ccls'], - \ 'go': [], - \ 'python': ['ruff', 'mypy'], - \ } - nmap [g (ale_previous_wrap) nmap ]g (ale_next_wrap) -- cgit v1.2.3