vim: cleanup ALE linters and config

feature/improve-speed
bretello 2021-03-13 15:31:26 +01:00
parent 4f34f5957f
commit a8f17dfaa3
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 4 additions and 4 deletions

View File

@ -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'],