mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -3741,7 +3741,7 @@ nv_ident(cmdarg_T *cap)
|
||||
ptr = vim_strnsave(ptr, n);
|
||||
if (kp_ex)
|
||||
// Escape the argument properly for an Ex command
|
||||
p = vim_strsave_fnameescape(ptr, FALSE);
|
||||
p = vim_strsave_fnameescape(ptr, VSE_NONE);
|
||||
else
|
||||
// Escape the argument properly for a shell command
|
||||
p = vim_strsave_shellescape(ptr, TRUE, TRUE);
|
||||
|
Reference in New Issue
Block a user