From 68dda54569ede7896423a0505c11805cbd5c7639 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 5 Sep 2019 17:41:10 +0200 Subject: [PATCH] python IDE: add isort plugin and config Co-Authored-by: Igor Milhit --- init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.vim b/init.vim index 6c8b7e4..44877d3 100644 --- a/init.vim +++ b/init.vim @@ -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