forked from aniani/vim
patch 8.2.1627: Vim9: cannot pass "true" to submatch/term_gettty/term_start
Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and term_start() Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
This commit is contained in:
@@ -448,7 +448,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported, int supported2)
|
||||
if (!(supported2 & JO2_CURWIN))
|
||||
break;
|
||||
opt->jo_set2 |= JO2_CURWIN;
|
||||
opt->jo_curwin = tv_get_number(item);
|
||||
opt->jo_curwin = tv_get_bool(item);
|
||||
}
|
||||
else if (STRCMP(hi->hi_key, "bufnr") == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user