X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/68a3c75eb2a7096a7d5b3cfa6a6f3a5b894a1d72..fcf97961061982656a1384ecc1628e217a52a88c:/plugin/black.vim?ds=sidebyside diff --git a/plugin/black.vim b/plugin/black.vim index f3e4409..a0de953 100644 --- a/plugin/black.vim +++ b/plugin/black.vim @@ -138,7 +138,7 @@ def _initialize_black_env(upgrade=False): if first_install: print('Pro-tip: to upgrade Black in the future, use the :BlackUpgrade command and restart Vim.\n') if virtualenv_site_packages not in sys.path: - sys.path.append(virtualenv_site_packages) + sys.path.insert(0, virtualenv_site_packages) return True if _initialize_black_env():