Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
25712:e2b38073ff8f | 25713:2eddbc3d83b9 |
---|---|
2132 # endif | 2132 # endif |
2133 # ifdef FEAT_PROFILE | 2133 # ifdef FEAT_PROFILE |
2134 {EXPAND_SYNTIME, get_syntime_arg, TRUE, TRUE}, | 2134 {EXPAND_SYNTIME, get_syntime_arg, TRUE, TRUE}, |
2135 # endif | 2135 # endif |
2136 {EXPAND_HIGHLIGHT, get_highlight_name, TRUE, TRUE}, | 2136 {EXPAND_HIGHLIGHT, get_highlight_name, TRUE, TRUE}, |
2137 {EXPAND_EVENTS, get_event_name, TRUE, TRUE}, | 2137 {EXPAND_EVENTS, get_event_name, TRUE, FALSE}, |
2138 {EXPAND_AUGROUP, get_augroup_name, TRUE, TRUE}, | 2138 {EXPAND_AUGROUP, get_augroup_name, TRUE, FALSE}, |
2139 # ifdef FEAT_CSCOPE | 2139 # ifdef FEAT_CSCOPE |
2140 {EXPAND_CSCOPE, get_cscope_name, TRUE, TRUE}, | 2140 {EXPAND_CSCOPE, get_cscope_name, TRUE, TRUE}, |
2141 # endif | 2141 # endif |
2142 # ifdef FEAT_SIGNS | 2142 # ifdef FEAT_SIGNS |
2143 {EXPAND_SIGN, get_sign_name, TRUE, TRUE}, | 2143 {EXPAND_SIGN, get_sign_name, TRUE, TRUE}, |