mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:8.2.3530: ":buf \{a}" fails while ":edit \{a}" works
Problem: ":buf \{a}" fails while ":edit \{a}" works.
Solution: Unescape "\{". (closes vim/vim#8917)
21c1a0c2f1
This commit is contained in:
@@ -4321,7 +4321,7 @@ static void nv_ident(cmdarg_T *cap)
|
||||
ptr = vim_strnsave(ptr, n);
|
||||
if (kp_ex) {
|
||||
// Escape the argument properly for an Ex command
|
||||
p = (char_u *)vim_strsave_fnameescape((const char *)ptr, false);
|
||||
p = (char_u *)vim_strsave_fnameescape((const char *)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