mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
vim-patch:8.1.1583: set_ref_in_list() only sets ref in items (#26418)
Problem: Set_ref_in_list() only sets ref in items.
Solution: Rename to set_ref_in_list_items() to avoid confusion.
7be3ab2589
Omit set_ref_in_list() and set_ref_in_dict(): only used in popup window,
if_pyth and if_lua.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -2604,7 +2604,7 @@ static ShaDaWriteResult shada_write(ShaDaWriteDef *const sd_writer, ShaDaReadDef
|
||||
case VAR_LIST: {
|
||||
list_T *l = vartv.vval.v_list;
|
||||
int copyID = get_copyID();
|
||||
if (!set_ref_in_list(l, copyID, NULL)
|
||||
if (!set_ref_in_list_items(l, copyID, NULL)
|
||||
&& copyID == l->lv_copyID) {
|
||||
tv_clear(&vartv);
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user