python IDE: add isort plugin and config
Co-Authored-by: Igor Milhit <igor@milhit@.ch>server
							parent
							
								
									f9291da301
								
							
						
					
					
						commit
						68dda54569
					
				
							
								
								
									
										5
									
								
								init.vim
								
								
								
								
							
							
						
						
									
										5
									
								
								init.vim
								
								
								
								
							| 
						 | 
					@ -109,6 +109,9 @@ let g:jedi#use_splits_not_buffers = "right"
 | 
				
			||||||
" Python linting
 | 
					" Python linting
 | 
				
			||||||
let g:neomake_python_enabled_makers = ['flake8']
 | 
					let g:neomake_python_enabled_makers = ['flake8']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Imports sorting
 | 
				
			||||||
 | 
					let g:isort_command = 'isort'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" plugins (vim-plug)
 | 
					" plugins (vim-plug)
 | 
				
			||||||
call plug#begin('~/.config/nvim/plugged')
 | 
					call plug#begin('~/.config/nvim/plugged')
 | 
				
			||||||
Plug 'tpope/vim-sensible'                           " default settings
 | 
					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 'Shougo/neco-syntax'                           " other sources for autocompletion
 | 
				
			||||||
Plug 'davidhalter/jedi-vim'                         " Code jump
 | 
					Plug 'davidhalter/jedi-vim'                         " Code jump
 | 
				
			||||||
Plug 'neomake/neomake'                              " Python linting
 | 
					Plug 'neomake/neomake'                              " Python linting
 | 
				
			||||||
 | 
					" Imports sorting
 | 
				
			||||||
 | 
					Plug 'stsewd/isort.nvim', { 'do': ':UpdateRemotePlugins'  }
 | 
				
			||||||
call plug#end()
 | 
					call plug#end()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
call neomake#configure#automake('nrwi', 500)        " autolint
 | 
					call neomake#configure#automake('nrwi', 500)        " autolint
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue