summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-23 19:45:01 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-23 19:45:01 +0000
commitac48506ac62b2ece523d5af6ea6c95b699d70b94 (patch)
tree15f7b8ac648f36039c06b1ac67f1067ce988f0eb /src/proto
parentc20e46a4e3efcd408ef132872238144ea34f7ae5 (diff)
downloadvim-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/proto')
-rw-r--r--src/proto/ex_docmd.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/ex_docmd.pro b/src/proto/ex_docmd.pro
index 3be747107..40f264982 100644
--- a/src/proto/ex_docmd.pro
+++ b/src/proto/ex_docmd.pro
@@ -26,7 +26,7 @@ long excmd_get_argt(cmdidx_T idx);
char_u *skip_range(char_u *cmd_start, int skip_star, int *ctx);
void ex_ni(exarg_T *eap);
int expand_filename(exarg_T *eap, char_u **cmdlinep, char **errormsgp);
-void separate_nextcmd(exarg_T *eap);
+void separate_nextcmd(exarg_T *eap, int keep_backslash);
char_u *skip_cmd_arg(char_u *p, int rembs);
int get_bad_opt(char_u *p, exarg_T *eap);
int ends_excmd(int c);