Browse Source

增加了启动Vim时检查venv环境的插件配置

master
Kevin 8 months ago
parent
commit
f8aa4b8181
  1. 5
      configs/plugins.vim

5
configs/plugins.vim

@ -60,6 +60,9 @@ import sys
from pip._internal.cli.main import main as pip_main
if 'VIRTUAL_ENV' in os.environ:
pip_main(['install', 'pylint'])
try:
import pylint
except ImportError:
pip_main(['install', 'pylint'])
EOF

Loading…
Cancel
Save