mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works
Problem: ":buf \{a}" fails while ":edit \{a}" works. Solution: Unescape "\{". (closes #8917)
This commit is contained in:
@@ -1147,7 +1147,8 @@ do_2string(typval_T *tv, int is_2string_any, int tolerant)
|
||||
while ((e = vim_strchr(s, '\n')) != NULL)
|
||||
{
|
||||
*e = NUL;
|
||||
p = vim_strsave_fnameescape(s, FALSE);
|
||||
p = vim_strsave_fnameescape(s,
|
||||
VSE_NONE);
|
||||
if (p != NULL)
|
||||
{
|
||||
ga_concat(&ga, p);
|
||||
|
Reference in New Issue
Block a user