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/option.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/option.c')
-rw-r--r-- | src/nvim/option.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index b80f014441..5b3f0d5612 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -963,6 +963,9 @@ static struct vimoption {"infercase", "inf", P_BOOL|P_VI_DEF, (char_u *)&p_inf, PV_INF, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, + {"initpython","ipy",P_STRING|P_VI_DEF|P_SECURE, + (char_u *)&p_ipy, PV_NONE, + {(char_u *)NULL, (char_u *)0L} SCRIPTID_INIT}, {"insertmode", "im", P_BOOL|P_VI_DEF|P_VIM, (char_u *)&p_im, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, |