1
0
forked from aniani/vim

patch 8.2.4912: using execute() to define a lambda doesn't work

Problem:    Using execute() to define a lambda doesn't work. (Ernie Rael)
Solution:   Put the getline function in evalarg. (closes #10375)
This commit is contained in:
Bram Moolenaar
2022-05-07 21:14:05 +01:00
parent 249591057b
commit a7583c42cd
5 changed files with 26 additions and 3 deletions

View File

@@ -3868,7 +3868,7 @@ execute_cmds_from_string(char_u *str)
* Called by do_cmdline() to get the next line.
* Returns allocated string, or NULL for end of function.
*/
static char_u *
char_u *
get_list_line(
int c UNUSED,
void *cookie,