forked from aniani/vim
patch 7.4.1315
Problem: Using a channel handle does not allow for freeing it when unused. Solution: Add the Channel variable type.
This commit is contained in:
@@ -183,6 +183,7 @@ json_encode_item(garray_T *gap, typval_T *val, int copyID, int options)
|
||||
|
||||
case VAR_FUNC:
|
||||
case VAR_JOB:
|
||||
case VAR_CHANNEL:
|
||||
/* no JSON equivalent TODO: better error */
|
||||
EMSG(_(e_invarg));
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user