From e6953b53d9960bf2d6cc4d3b128214391a64ea8c Mon Sep 17 00:00:00 2001 From: bretello Date: Sat, 13 Mar 2021 15:31:26 +0100 Subject: [PATCH] vim: cleanup ALE linters and config --- vim/plugins_config.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/plugins_config.vim b/vim/plugins_config.vim index 0e9b91e..4dffcc1 100644 --- a/vim/plugins_config.vim +++ b/vim/plugins_config.vim @@ -23,16 +23,16 @@ let g:ale_fixers = { let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']} let g:ale_python_bandit_options = "-c banditrc" -" let g:ale_python_pylint_options = "--rcfile pylintrc --disable=W0511" " if the rcfile does not exist, pylint will exit without linting let g:ale_python_pylint_options = "--disable=W0511" -let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic' -let g:ale_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic' +" let g:ale_cpp_clang_options = '-std=c++17 -Wall -Wpedantic' +" let g:ale_cpp_gcc_options = '-std=c++17 -Wall -Wpedantic' let g:ale_linters = { \ 'bash': ['bash-language-server', 'bashlint', "shellcheck"], \ 'dockerfile': ["hadolint"], \ 'zsh': ['bashlint', "shellcheck"], - \ 'python': ['pyls', 'pylint', 'bandit'], + \ 'cpp': ['clangd'], + \ 'python': ['pyls', 'pylint', 'bandit', 'mypy'], \ 'go': ['gopls', 'gobuild'], \ 'rust': ['analyzer', 'rustc'], \ 'yaml': ['yamllint'],