Closed kelein closed 4 years ago
We can add pip/virtualenv support similar to black's:
https://github.com/ambv/black/blob/master/plugin/black.vim (it's MIT licensed)
Black's vim plugin seems to work out-of-the-box on my machines.
There is a weakness with black's vim plugin: It doesn't take note of the project's configuration, like it would if you were doing it via the commandline.
I have been already installed isort via pip:
And configured in my .vimrc:
Plugin 'fisadev/vim-isort'
and thenPluginInstall
.But when type
Isort
command it occurs this:Meanwhile, It works well when I directly use it by
isort some.py
in terminal.My vim version
8.1.400
.