diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-23 19:45:01 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-23 19:45:01 +0000 |
commit | ac48506ac62b2ece523d5af6ea6c95b699d70b94 (patch) | |
tree | 15f7b8ac648f36039c06b1ac67f1067ce988f0eb /src/vim9cmds.c | |
parent | c20e46a4e3efcd408ef132872238144ea34f7ae5 (diff) | |
download | vim-git-ac48506ac62b2ece523d5af6ea6c95b699d70b94.tar.gz |
patch 8.2.4615: mapping with escaped bar does not work in :def functionv8.2.4615
Problem: Mapping with escaped bar does not work in :def function. (Sergey
Vlasov)
Solution: Do not remove the backslash. (closes #10002)
Diffstat (limited to 'src/vim9cmds.c')
-rw-r--r-- | src/vim9cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9cmds.c b/src/vim9cmds.c index 072a106a5..483b1f34b 100644 --- a/src/vim9cmds.c +++ b/src/vim9cmds.c @@ -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; } |