forked from aniani/vim
patch 9.1.0335: String interpolation fails for List type
Problem: String interpolation fails for List type Solution: use implicit string(list) for string interpolation and :put = (Yegappan Lakshmanan) related: #14529 closes: #14556 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
a59e031aa0
commit
bce51d9005
@@ -662,7 +662,7 @@ eval_one_expr_in_str(char_u *p, garray_T *gap, int evaluate)
|
||||
if (evaluate)
|
||||
{
|
||||
*block_end = NUL;
|
||||
expr_val = eval_to_string(block_start, TRUE, FALSE);
|
||||
expr_val = eval_to_string(block_start, FALSE, FALSE);
|
||||
*block_end = '}';
|
||||
if (expr_val == NULL)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user