~nhanb/neodots

e422762c1e029738c96429810aff0e3d08c3c93f — Nhân 2 months ago 94692ce
isort: use black profile

Prevents imports being reorganized differently when a python file is
saved while being syntactically incorrect.
1 files changed, 2 insertions(+), 1 deletions(-)

M vim/.vim/plugs.vim
M vim/.vim/plugs.vim => vim/.vim/plugs.vim +2 -1
@@ 212,7 212,7 @@ let g:ale_linters = {
let g:ale_python_flake8_options = '--append-config ~/.flake8'

let g:ale_fixers = {
            \'python': ['isort', 'black'],
            \'python': ['black', 'isort'],
            \'go': ['goimports'],
            \'rust': ['rustfmt'],
            \'elm': ['elm-format'],


@@ 232,6 232,7 @@ let g:ale_fixers = {
nnoremap <leader>f :ALEFix<cr>

let g:ale_c_clangformat_options = '--style=google'
let g:ale_python_isort_options = '--profile black'

" }}}
" YouCompleteMe {{{