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
@ -3830,7 +3830,7 @@ ex_spelldump(exarg_T *eap)
|
||||
|
||||
if (no_spell_checking(curwin))
|
||||
return;
|
||||
(void)get_option_value((char_u*)"spl", &dummy, &spl, OPT_LOCAL);
|
||||
(void)get_option_value((char_u*)"spl", &dummy, &spl, NULL, OPT_LOCAL);
|
||||
|
||||
// Create a new empty buffer in a new window.
|
||||
do_cmdline_cmd((char_u *)"new");
|
||||
|
||||
Reference in New Issue
Block a user