forked from aniani/vim
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:
@@ -3886,7 +3886,7 @@ f_fnameescape(typval_T *argvars, typval_T *rettv)
|
||||
return;
|
||||
|
||||
rettv->vval.v_string = vim_strsave_fnameescape(
|
||||
tv_get_string(&argvars[0]), FALSE);
|
||||
tv_get_string(&argvars[0]), VSE_NONE);
|
||||
rettv->v_type = VAR_STRING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user