Files
neovim/runtime/autoload
David Lukes bf85cc0909 checkhealth: better $VIRTUAL_ENV validation #11781
fix #11753
close #11781

The virtualenv troubleshooting in the Python provider health checks is
supposed to help the user determine whether running Python from Neovim
(as in `system('python')` or `system(exepath('python'))`) will use the
correct executable when a virtualenv is active. Currently however, it
issues spurious warnings in legitimate setups, and conversely, fails to
warn about potentially problematic ones.

See https://github.com/neovim/neovim/issues/11753#issuecomment-578715584
for a more detailed analysis, but at a high level, this is due to two
things:

- the virtualenv check is part of the Python provider check defined in
`s:check_python`, which uses a roundabout and sometimes erroneous way of
determining the Python executable
- more generally, it shouldn't be part of the provider check at all,
because it's not really related to the Python *provider*, i.e. the
Python executable which can communicate with Neovim via `pynvim`, but to
the Python the user is editing source files for, which typically
shouldn't even have `pynvim` installed

This patch reimplements the virtualenv check and factors it out into its
own separate function, which is however still kept in
`health/provider.vim` alongside the rest of the Python troubleshooting,
since troubleshooting all Python-related stuff in one place is probably
a good idea in order to alleviate any potential confusion (e.g. users
who run only provider checks might be left wondering whether their
virtualenv Python was properly detected if the report only shows their
global Python as the provider used by Neovim).
2020-02-02 16:21:55 -08:00
..
2019-08-01 22:48:28 +02:00
2017-11-07 23:07:03 +01:00
2018-10-29 23:55:45 +01:00
2017-01-02 10:45:10 +09:00
2017-04-29 01:47:36 +02:00
2017-04-29 01:47:36 +02:00
2018-10-29 09:39:48 +01:00
2017-04-28 23:49:16 +02:00
2018-10-29 23:54:15 +01:00
2017-11-06 05:26:16 +01:00
2015-10-11 18:07:58 -04:00
2019-08-02 16:20:22 +02:00
2019-07-29 20:50:07 +02:00
2018-10-30 00:05:25 +01:00
2019-07-19 21:32:04 +02:00
2019-07-19 21:32:04 +02:00
2019-07-29 20:50:07 +02:00
2019-07-29 20:50:07 +02:00
2017-11-07 01:04:17 +01:00
2017-11-07 01:04:17 +01:00
2017-11-07 23:07:03 +01:00
2019-09-06 18:35:06 -07:00
2018-08-10 19:01:17 +02:00
2019-07-29 20:50:07 +02:00
2017-04-28 23:39:24 +02:00

The autoload directory is for standard Vim autoload scripts.

These are functions used by plugins and for general use.  They will be loaded
automatically when the function is invoked.  See ":help autoload".

gzip.vim	for editing compressed files
netrw*.vim	browsing (remote) directories and editing remote files
tar.vim		browsing tar files
zip.vim		browsing zip files
paste.vim	common code for mswin.vim, menu.vim and macmap.vim
spellfile.vim	downloading of a missing spell file

Omni completion files:
ccomplete.vim		C
csscomplete.vim		HTML / CSS
htmlcomplete.vim	HTML
javascriptcomplete.vim  Javascript
phpcomplete.vim		PHP
pythoncomplete.vim	Python
rubycomplete.vim	Ruby
syntaxcomplete.vim	from syntax highlighting
xmlcomplete.vim		XML (uses files in the xml directory)