mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4615: mapping with escaped bar does not work in :def function
Problem: Mapping with escaped bar does not work in :def function. (Sergey Vlasov) Solution: Do not remove the backslash. (closes #10002)
This commit is contained in:
@@ -1848,7 +1848,7 @@ compile_exec(char_u *line_arg, exarg_T *eap, cctx_T *cctx)
|
||||
if ((argt & EX_TRLBAR) && !usefilter)
|
||||
{
|
||||
eap->argt = argt;
|
||||
separate_nextcmd(eap);
|
||||
separate_nextcmd(eap, TRUE);
|
||||
if (eap->nextcmd != NULL)
|
||||
nextcmd = eap->nextcmd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user