mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 23:31:32 +01:00
vim: update python ALE config
This commit is contained in:
parent
f9c08eefd1
commit
8f481eb4b7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user