python IDE: add isort plugin and config

Co-Authored-by: Igor Milhit <igor@milhit@.ch>
server
iGor milhit 2019-09-05 17:41:10 +02:00
parent f9291da301
commit 68dda54569
No known key found for this signature in database
GPG Key ID: 3B5043D919E99ED2
1 changed files with 5 additions and 0 deletions

View File

@ -109,6 +109,9 @@ let g:jedi#use_splits_not_buffers = "right"
" Python linting
let g:neomake_python_enabled_makers = ['flake8']
" Imports sorting
let g:isort_command = 'isort'
" plugins (vim-plug)
call plug#begin('~/.config/nvim/plugged')
Plug 'tpope/vim-sensible' " default settings
@ -139,6 +142,8 @@ Plug 'zchee/deoplete-jedi' " source for python autocomp
Plug 'Shougo/neco-syntax' " other sources for autocompletion
Plug 'davidhalter/jedi-vim' " Code jump
Plug 'neomake/neomake' " Python linting
" Imports sorting
Plug 'stsewd/isort.nvim', { 'do': ':UpdateRemotePlugins' }
call plug#end()
call neomake#configure#automake('nrwi', 500) " autolint