mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0159: non-materialized range() list causes problems
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya) Solution: Materialize the list where needed.
This commit is contained in:
@@ -4205,7 +4205,7 @@ set_ref_in_list_items(list_T *l, int copyID, ht_stack_T **ht_stack)
|
||||
cur_l = l;
|
||||
for (;;)
|
||||
{
|
||||
if (!abort)
|
||||
if (!abort && cur_l->lv_first != &range_list_item)
|
||||
// Mark each item in the list. If the item contains a hashtab
|
||||
// it is added to ht_stack, if it contains a list it is added to
|
||||
// list_stack.
|
||||
|
Reference in New Issue
Block a user