forked from aniani/vim
patch 8.2.2254: Vim9: bool option type is number
Problem: Vim9: bool option type is number. Solution: Have get_option_value() return a different value for bool and number options. (closes #7583)
This commit is contained in:
@@ -3813,7 +3813,7 @@ ex_spelldump(exarg_T *eap)
|
||||
|
||||
if (no_spell_checking(curwin))
|
||||
return;
|
||||
get_option_value((char_u*)"spl", &dummy, &spl, OPT_LOCAL);
|
||||
(void)get_option_value((char_u*)"spl", &dummy, &spl, OPT_LOCAL);
|
||||
|
||||
// Create a new empty buffer in a new window.
|
||||
do_cmdline_cmd((char_u *)"new");
|
||||
|
Reference in New Issue
Block a user