summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-09-01 13:03:39 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-01 13:03:39 +0200
commitb4d82e2a8d610c00139a74970df772eece2daf1c (patch)
tree7a1b585c8dc1b243f5878d2f74036410c32f25e6 /src/cmdexpand.c
parent20e0c3d27bda770542c1c0e4c81fd6443c12f3a6 (diff)
patch 8.2.3392: augroup completion escapes regexp pattern charactersv8.2.3392
Problem: augroup completion escapes regexp pattern characters. Solution: Do not escape the augroup name. (closes #8826)
Diffstat (limited to 'src/cmdexpand.c')
-rw-r--r--src/cmdexpand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 58ba759675..6c92957692 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -2134,8 +2134,8 @@ ExpandFromContext(
{EXPAND_SYNTIME, get_syntime_arg, TRUE, TRUE},
# endif
{EXPAND_HIGHLIGHT, get_highlight_name, TRUE, TRUE},
- {EXPAND_EVENTS, get_event_name, TRUE, TRUE},
- {EXPAND_AUGROUP, get_augroup_name, TRUE, TRUE},
+ {EXPAND_EVENTS, get_event_name, TRUE, FALSE},
+ {EXPAND_AUGROUP, get_augroup_name, TRUE, FALSE},
# ifdef FEAT_CSCOPE
{EXPAND_CSCOPE, get_cscope_name, TRUE, TRUE},
# endif