Close #4481 Try .venv first, drop ve-py3

.venv was going to be the officially recommended default virtualenv
directory name in PEP 704, which was not accepted. Still, poetry uses
this name by default, as do other projects. We can deem it the first
name we should try to search for.

ve-py3 was a directory name I can't find mentions of online, and was
used in my own projects during the days of migrating from Python 2 to 3.
We can just drop it, and people can update their settings if they still
need it.
This commit is contained in:
w0rp
2023-09-09 22:57:01 +01:00
parent 65f0fd0d6a
commit 7b56ddc3f6
2 changed files with 7 additions and 4 deletions

View File

@@ -2449,7 +2449,7 @@ g:ale_virtualtext_single *g:ale_virtualtext_single*
g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names*
*b:ale_virtualenv_dir_names*
Type: |List|
Default: `['.env', '.venv', 'env', 've-py3', 've', 'virtualenv', 'venv']`
Default: `['.venv', 'env', 've', 'venv', 'virtualenv', '.env']`
A list of directory names to be used when searching upwards from Python
files to discover virtualenv directories with.