diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-26 18:27:01 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-07-17 11:37:41 -0300 |
commit | 486c8e37c17e4aa89fa9ef7e0c682b659a5a8a82 (patch) | |
tree | 08768b45ebf42eb2c0594cc3d506672213eb3201 /src/nvim/os/provider.c | |
parent | 8a091e7f5c58a27fb3af1de76284430e812c95b5 (diff) | |
download | rneovim-486c8e37c17e4aa89fa9ef7e0c682b659a5a8a82.tar.gz rneovim-486c8e37c17e4aa89fa9ef7e0c682b659a5a8a82.tar.bz2 rneovim-486c8e37c17e4aa89fa9ef7e0c682b659a5a8a82.zip |
provider: Add support for python commands/functions
This uses the provider/scripting infrastructure to reintroduce python support
through the msgpack-rpc API.
A new 'initpython' option was added, and it must be set to a command that will
bootstrap the python provider the first time it's needed.
Diffstat (limited to 'src/nvim/os/provider.c')
-rw-r--r-- | src/nvim/os/provider.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/os/provider.c b/src/nvim/os/provider.c index 967314eee4..9bd1c82569 100644 --- a/src/nvim/os/provider.c +++ b/src/nvim/os/provider.c @@ -31,6 +31,12 @@ static struct feature { size_t name_length; uint64_t channel_id; } features[] = { + FEATURE("python", + &p_ipy, + "python_execute", + "python_execute_file", + "python_do_range", + "python_eval") }; static Map(cstr_t, uint64_t) *registered_providers = NULL; |