forked from aniani/vim
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
40bcec1bac
commit
6409553b6e
@@ -59,6 +59,7 @@
|
||||
#define P_NDNAME 0x8000000L // only normal dir name chars allowed
|
||||
#define P_RWINONLY 0x10000000L // only redraw current window
|
||||
#define P_MLE 0x20000000L // under control of 'modelineexpr'
|
||||
#define P_FUNC 0x40000000L // accept a function reference or a lambda
|
||||
|
||||
// Returned by get_option_value().
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user