neovim/test/functional/fixtures
Rui Abreu Ferreira 2cfe4748e5 provider: let providers decide their status
Instead of deciding provider status in eval_has_provider, move the
decision to the provider Vim scripts.

Previously, provider loading worked as follows:

1. eval_has_provider() verified provider availability by searching for
   the provider#providername#Call function and cached this verificaion as a static
   variable for some providers
2. providers short-circuited on loading to prevent the definition of the
   Call function (with the exception of the node provider that did not)

This commit changes the expected interface between nvim and its
providers to facilitate provider reloading, by splitting the
verification of the provider from the availability of the Call function.

eval_has_provider() now checks for a provider#providername#enabled
variable. It is up to the provider script to set this to 0 or 1
accordingly. eval_call_provider() remains unchanged.

All providers hosting a Call function were updated to respect this.

The clipboard provider now has a Reload function to reload the
provider.
2019-08-04 13:23:46 +02:00
..
autoload provider: let providers decide their status 2019-08-04 13:23:46 +02:00
compdir cmdline: correct the column position of wildoptions=pum popupmenu 2019-07-01 18:24:00 +02:00
api_level_0.mpack api: api_info()['version'] 2016-10-28 14:33:13 +02:00
api_level_1.mpack api: add api_level_1 fixure 2017-03-15 15:01:06 +01:00
api_level_2.mpack NVIM v0.2.0 2017-05-01 22:13:23 +02:00
api_level_3.mpack NVIM v0.2.1 2017-11-07 23:54:31 +01:00
api_level_4.mpack NVIM v0.3.0 2018-06-11 00:46:49 +02:00
api_level_5.mpack NVIM v0.3.2 2018-12-31 01:06:17 +01:00
bigfile_oneline.txt inccommand: improve performance #6949 2017-07-08 17:51:42 +02:00
bigfile.txt 'inccommand': Add tests. 2016-11-15 05:01:25 +01:00
CMakeLists.txt test/env: multibyte env var to child process 2019-02-28 22:40:11 +01:00
cmdscript.cmd win: jobstart(), system(): $PATHEXT-resolve exe 2019-07-21 20:51:37 +02:00
non_executable.txt jobstart(): Return -1 if cmd is not executable. #5671 2016-12-10 16:01:27 +01:00
printargs-test.c *: Add comment to all C files 2017-04-19 19:11:50 +03:00
printenv-test.c test/env: multibyte env var to child process 2019-02-28 22:40:11 +01:00
shell_data.txt shell: add test for binary and multibyte output 2018-02-06 10:23:26 +01:00
shell-test.c shell-test: fix REP for count larger than uint8_t (#10581) 2019-07-22 20:49:45 +02:00
tty-test.c build: -Wmissing-prototypes 2019-02-04 04:00:20 +01:00