patch 9.1.1232: Vim script is missing the tuple data type
Problem: Vim script is missing the tuple data type
Solution: Add support for the tuple data type
(Yegappan Lakshmanan)
closes: #16776
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
adb703e1b9
commit
9cb865e95b
@ -8065,7 +8065,7 @@ static int mark_quickfix_user_data(qf_info_T *qi, int copyID)
|
||||
typval_T* user_data = &qfp->qf_user_data;
|
||||
if (user_data != NULL && user_data->v_type != VAR_NUMBER
|
||||
&& user_data->v_type != VAR_STRING && user_data->v_type != VAR_FLOAT)
|
||||
abort = abort || set_ref_in_item(user_data, copyID, NULL, NULL);
|
||||
abort = abort || set_ref_in_item(user_data, copyID, NULL, NULL, NULL);
|
||||
}
|
||||
}
|
||||
return abort;
|
||||
@ -8088,7 +8088,7 @@ mark_quickfix_ctx(qf_info_T *qi, int copyID)
|
||||
ctx = qi->qf_lists[i].qf_ctx;
|
||||
if (ctx != NULL && ctx->v_type != VAR_NUMBER
|
||||
&& ctx->v_type != VAR_STRING && ctx->v_type != VAR_FLOAT)
|
||||
abort = abort || set_ref_in_item(ctx, copyID, NULL, NULL);
|
||||
abort = abort || set_ref_in_item(ctx, copyID, NULL, NULL, NULL);
|
||||
|
||||
cb = &qi->qf_lists[i].qf_qftf_cb;
|
||||
abort = abort || set_ref_in_callback(cb, copyID);
|
||||
|
||||
Reference in New Issue
Block a user