mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
@@ -2247,7 +2247,7 @@ static void set_var_lval(lval_T *lp, char_u *endp, typval_T *rettv, int copy, ch
|
|||||||
int ll_n1 = lp->ll_n1;
|
int ll_n1 = lp->ll_n1;
|
||||||
|
|
||||||
// Check whether any of the list items is locked
|
// Check whether any of the list items is locked
|
||||||
for (listitem_T *ri = rettv->vval.v_list->lv_first; ri != NULL; ) {
|
for (listitem_T *ri = rettv->vval.v_list->lv_first; ri != NULL && ll_li != NULL; ) {
|
||||||
if (tv_check_lock(ll_li->li_tv.v_lock, lp->ll_name)) {
|
if (tv_check_lock(ll_li->li_tv.v_lock, lp->ll_name)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -401,6 +401,11 @@ let l = [0, 1, 2, 3]
|
|||||||
: $put =v:exception[:15] . v:exception[-1:-1]
|
: $put =v:exception[:15] . v:exception[-1:-1]
|
||||||
:endtry
|
:endtry
|
||||||
:$put =string(d)
|
:$put =string(d)
|
||||||
|
:"
|
||||||
|
:" test for range assign
|
||||||
|
:let l = [0]
|
||||||
|
:let l[:] = [1, 2]
|
||||||
|
:$put =string(l)
|
||||||
:endfun
|
:endfun
|
||||||
:"
|
:"
|
||||||
:call Test(1, 2, [3, 4], {5: 6}) " This may take a while
|
:call Test(1, 2, [3, 4], {5: 6}) " This may take a while
|
||||||
|
@@ -129,6 +129,7 @@ caught a:000[3]
|
|||||||
{'a': {'b': 'B'}}
|
{'a': {'b': 'B'}}
|
||||||
Vim(call):E737: a
|
Vim(call):E737: a
|
||||||
{'a': {'b': 'B'}}
|
{'a': {'b': 'B'}}
|
||||||
|
[1, 2]
|
||||||
Vim(foldopen):E490:
|
Vim(foldopen):E490:
|
||||||
|
|
||||||
|
|
||||||
|
@@ -197,7 +197,7 @@ static int included_patches[] = {
|
|||||||
//544 NA
|
//544 NA
|
||||||
543,
|
543,
|
||||||
//542,
|
//542,
|
||||||
//541,
|
541,
|
||||||
//540 NA
|
//540 NA
|
||||||
//539,
|
//539,
|
||||||
538,
|
538,
|
||||||
|
Reference in New Issue
Block a user