X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/68a3c75eb2a7096a7d5b3cfa6a6f3a5b894a1d72..88d12f88a97e5e4c8fd0d245df0a311e932fd1e1:/plugin/black.vim 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():