1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 11:31:30 +01:00

vim: cleanup ALE linters and config

This commit is contained in:
bretello 2021-03-13 15:31:26 +01:00
parent 4f34f5957f
commit a8f17dfaa3
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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