Mercurial > vim
diff src/cmdexpand.c @ 25713:2eddbc3d83b9 v8.2.3392
patch 8.2.3392: augroup completion escapes regexp pattern characters
Commit: https://github.com/vim/vim/commit/b4d82e2a8d610c00139a74970df772eece2daf1c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 1 13:03:39 2021 +0200
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 https://github.com/vim/vim/issues/8826)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Sep 2021 13:15:06 +0200 |
parents | ba9d587f0b29 |
children | 47864a0f9055 |
line wrap: on
line diff
--- 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