aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-10-25 00:22:35 +0800
committerGuangxiong Lin <[email protected]>2023-10-25 00:22:35 +0800
commitc22e593950e9cbbcb58d6c2591bec3da363a4997 (patch)
tree6e5242321cf50d26e89e09415c8c310d04d70045
parent056048e9df3a280074ad9b937dca2c703584e492 (diff)
downloaddotfiles-c22e593950e9cbbcb58d6c2591bec3da363a4997.tar.gz
dotfiles-c22e593950e9cbbcb58d6c2591bec3da363a4997.tar.bz2
dotfiles-c22e593950e9cbbcb58d6c2591bec3da363a4997.zip
Make ALE configure linters itself
-rw-r--r--.vim/after/plugin/ale.vim8
1 files changed, 1 insertions, 7 deletions
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 <silent> [g <Plug>(ale_previous_wrap)
nmap <silent> ]g <Plug>(ale_next_wrap)