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)
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 341a0f1..7ed626d 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -876,11 +876,13 @@
call delete('Xfile2')
" completion for the :augroup command
- augroup XTest
+ augroup XTest.test
augroup END
call feedkeys(":augroup X\<C-A>\<C-B>\"\<CR>", 'xt')
- call assert_equal("\"augroup XTest", @:)
- augroup! XTest
+ call assert_equal("\"augroup XTest.test", @:)
+ call feedkeys(":au X\<C-A>\<C-B>\"\<CR>", 'xt')
+ call assert_equal("\"au XTest.test", @:)
+ augroup! XTest.test
" completion for the :unlet command
call feedkeys(":unlet one two\<C-A>\<C-B>\"\<CR>", 'xt')