vim: add isort as python fixer

feature/symbol-search
bretello 2020-05-14 17:47:40 +02:00
parent 3b1bb9528d
commit a8ab1d80b5
1 changed files with 2 additions and 1 deletions

View File

@ -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 = {