summaryrefslogtreecommitdiff
path: root/src/syntax.c
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/syntax.c
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/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 6683d2a3e..74687cb4d 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -4764,7 +4764,7 @@ syn_cmd_include(exarg_T *eap, int syncing UNUSED)
* filename to include.
*/
eap->argt |= (EX_XFILE | EX_NOSPC);
- separate_nextcmd(eap);
+ separate_nextcmd(eap, FALSE);
if (*eap->arg == '<' || *eap->arg == '$' || mch_isFullName(eap->arg))
{
// For an absolute path, "$VIM/..." or "<sfile>.." we ":source" the