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

vim: update python ALE config

This commit is contained in:
bretello 2021-10-01 10:37:51 +02:00
parent f9c08eefd1
commit 8f481eb4b7
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -25,6 +25,8 @@ let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
let g:ale_python_bandit_options = "-c banditrc"
let g:ale_python_pylint_options = "-j0 --disable=W0511"
let g:ale_python_mypy_options = "--ignore-missing-imports"
" 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_rust_rustfmt_options = '--edition=2018'
@ -34,16 +36,15 @@ let g:ale_linters = {
\ 'dockerfile': ["hadolint"],
\ 'zsh': ['bashlint', "shellcheck"],
\ 'cpp': ['clangd'],
\ 'python': ['pylsp', 'pylint', 'bandit', 'mypy'],
\ 'python': ['pylsp', 'pylint', 'bandit', "mypy"],
\ 'go': ['gopls', 'gobuild'],
\ 'rust': ['analyzer', 'cargo', 'rls'],
\ 'yaml': ['yamllint'],
\ 'javascript': ["yarn lint", "eslint", "vls"]
\}
let g:ale_linter_aliases = {'vue': ['vue', 'javascript']}
let g:ale_yaml_yamllint_options = "--config .editorconfig"
let g:ale_set_quickfix=1
let g:ale_set_loclist=0
let g:ale_open_list = 0
let g:ale_keep_list_window_open = 1