forked from aniani/vim
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
@@ -6248,7 +6248,7 @@ set_ref_in_py(const int copyID)
|
||||
if (func->argc)
|
||||
for (i = 0; !abort && i < func->argc; ++i)
|
||||
abort = abort
|
||||
|| set_ref_in_item(&func->argv[i], copyID, NULL, NULL);
|
||||
|| set_ref_in_item(&func->argv[i], copyID, NULL, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6777,6 +6777,7 @@ ConvertToPyObject(typval_T *tv)
|
||||
case VAR_CLASS:
|
||||
case VAR_OBJECT:
|
||||
case VAR_TYPEALIAS:
|
||||
case VAR_TUPLE: // FIXME: Need to add support for tuple
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
case VAR_BOOL:
|
||||
|
Reference in New Issue
Block a user