diff options
Diffstat (limited to 'src/filepath.c')
-rw-r--r-- | src/filepath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filepath.c b/src/filepath.c index ef5edae234..04026a0986 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -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; |