Mercurial > vim
comparison src/proto/eval.pro @ 26441:65ab0b035dd8 v8.2.3751
patch 8.2.3751: cannot assign a lambda to an option that takes a function
Commit: https://github.com/vim/vim/commit/6409553b6e3b4de4e1d72b8ee5445595214581ff
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Dec 6 11:03:55 2021 +0000
patch 8.2.3751: cannot assign a lambda to an option that takes a function
Problem: Cannot assign a lambda to an option that takes a function.
Solution: Automatically convert the lambda to a string. (Yegappan
Lakshmanan, closes #9286)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 06 Dec 2021 12:15:04 +0100 |
parents | e861c5aaedd8 |
children | 13ba00ef7687 |
comparison
equal
deleted
inserted
replaced
26440:f6f5f604c17c | 26441:65ab0b035dd8 |
---|---|
71 void echo_one(typval_T *rettv, int with_space, int *atstart, int *needclr); | 71 void echo_one(typval_T *rettv, int with_space, int *atstart, int *needclr); |
72 void ex_echo(exarg_T *eap); | 72 void ex_echo(exarg_T *eap); |
73 void ex_echohl(exarg_T *eap); | 73 void ex_echohl(exarg_T *eap); |
74 int get_echo_attr(void); | 74 int get_echo_attr(void); |
75 void ex_execute(exarg_T *eap); | 75 void ex_execute(exarg_T *eap); |
76 char_u *find_option_end(char_u **arg, int *opt_flags); | 76 char_u *find_option_end(char_u **arg, int *scope); |
77 void last_set_msg(sctx_T script_ctx); | 77 void last_set_msg(sctx_T script_ctx); |
78 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, typval_T *expr, char_u *flags); | 78 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, typval_T *expr, char_u *flags); |
79 /* vim: set ft=c : */ | 79 /* vim: set ft=c : */ |