From a8ab1d80b56c5e2e1f2b79608198445c244b014e Mon Sep 17 00:00:00 2001 From: bretello Date: Thu, 14 May 2020 17:47:40 +0200 Subject: [PATCH] vim: add isort as python fixer --- my_configs.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/my_configs.vim b/my_configs.vim index 944efcf..a31d5b0 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -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 = {