1
0
forked from aniani/vim

patch 8.2.3392: augroup completion escapes regexp pattern characters

Problem:    augroup completion escapes regexp pattern characters.
Solution:   Do not escape the augroup name. (closes #8826)
This commit is contained in:
Bram Moolenaar
2021-09-01 13:03:39 +02:00
parent 20e0c3d27b
commit b4d82e2a8d
3 changed files with 9 additions and 5 deletions

View File

@@ -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