forked from aniani/vim
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
This commit is contained in:
@@ -1892,6 +1892,7 @@ f_writefile(typval_T *argvars, typval_T *rettv)
|
||||
list = argvars[0].vval.v_list;
|
||||
if (list == NULL)
|
||||
return;
|
||||
range_list_materialize(list);
|
||||
for (li = list->lv_first; li != NULL; li = li->li_next)
|
||||
if (tv_get_string_chk(&li->li_tv) == NULL)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user