Mercurial > vim
comparison src/proto/evalfunc.pro @ 25527:d5e9c05b4811 v8.2.3300
patch 8.2.3300: Lua: can only execute on Vim command at a time
Commit: https://github.com/vim/vim/commit/11328bc7df0ecc47f4025a10bb86882a659e9994
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Fri Aug 6 21:34:38 2021 +0200
patch 8.2.3300: Lua: can only execute on Vim command at a time
Problem: Lua: can only execute on Vim command at a time. Not easy to get
the Vim version.
Solution: Make vim.command() accept multiple lines. Add vim.version().
(Yegappan Lakshmanan, closes #8716)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 Aug 2021 21:45:05 +0200 |
parents | fbdfa533001c |
children | ccb9be1cdd71 |
comparison
equal
deleted
inserted
replaced
25526:f9ebb5b05597 | 25527:d5e9c05b4811 |
---|---|
15 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); | 15 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); |
16 int non_zero_arg(typval_T *argvars); | 16 int non_zero_arg(typval_T *argvars); |
17 buf_T *get_buf_arg(typval_T *arg); | 17 buf_T *get_buf_arg(typval_T *arg); |
18 win_T *get_optional_window(typval_T *argvars, int idx); | 18 win_T *get_optional_window(typval_T *argvars, int idx); |
19 void execute_redir_str(char_u *value, int value_len); | 19 void execute_redir_str(char_u *value, int value_len); |
20 void execute_cmds_from_string(char_u *str); | |
20 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); | 21 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); |
21 void f_exists(typval_T *argvars, typval_T *rettv); | 22 void f_exists(typval_T *argvars, typval_T *rettv); |
22 void f_has(typval_T *argvars, typval_T *rettv); | 23 void f_has(typval_T *argvars, typval_T *rettv); |
23 int dynamic_feature(char_u *feature); | 24 int dynamic_feature(char_u *feature); |
24 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); | 25 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); |