1
0
forked from aniani/vim

patch 8.0.0867: job and channel in a dict value not quoted

Problem:    When using a job or channel value as a dict value, when turning it
            into a string the quotes are missing.
Solution:   Add quotes to the job and channel values. (Yasuhiro Matsumoto,
            closes #1930)
This commit is contained in:
Bram Moolenaar
2017-08-05 16:33:56 +02:00
parent d53109886b
commit 35422f45ba
4 changed files with 23 additions and 7 deletions

View File

@@ -740,7 +740,7 @@ list_join_inner(
for (item = l->lv_first; item != NULL && !got_int; item = item->li_next)
{
s = echo_string_core(&item->li_tv, &tofree, numbuf, copyID,
echo_style, restore_copyID, FALSE);
echo_style, restore_copyID, !echo_style);
if (s == NULL)
return FAIL;