mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-26 01:01:32 +01:00
vim: add isort as python fixer
This commit is contained in:
parent
3b1bb9528d
commit
a8ab1d80b5
|
@ -19,13 +19,14 @@ let g:ale_fixers = {
|
|||
\ 'json': ['prettier'],
|
||||
\ 'css': ['prettier'],
|
||||
\ 'markdown': ['prettier'],
|
||||
\ 'python': ['black', 'reorder-python-imports'],
|
||||
\ 'python': ['black', 'isort'],
|
||||
\ 'go': ['gofmt', 'goimports'],
|
||||
\ 'rust': ['rustfmt'],
|
||||
\ "javascript": ["prettier", "eslint"],
|
||||
\ "vue": ["prettier", "eslint"]
|
||||
\}
|
||||
let g:ale_python_bandit_options = "-c banditrc"
|
||||
let g:ale_python_isort_options = "--rc"
|
||||
|
||||
let g:ale_linter_aliases = {'vue': ['vue', 'javascript']}
|
||||
let g:ale_linters = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user