Mercurial > vim
diff src/testdir/test_syntax.vim @ 29890:80929331a836 v9.0.0283
patch 9.0.0283: cannot complete "syn list @cluster"
Commit: https://github.com/vim/vim/commit/af9a6002e0761012cb7108cbfa179a880d3cb49b
Author: bfredl <bjorn.linse@gmail.com>
Date: Fri Aug 26 21:58:31 2022 +0100
patch 9.0.0283: cannot complete "syn list @cluster"
Problem: Cannot complete "syn list @cluster".
Solution: Recognize and handle "list @". (Bj?rn Linse, closes https://github.com/vim/vim/issues/10990)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Aug 2022 23:00:03 +0200 |
parents | f27ec19f2034 |
children | ae10b91ac6b3 |
line wrap: on
line diff
--- a/src/testdir/test_syntax.vim +++ b/src/testdir/test_syntax.vim @@ -201,6 +201,10 @@ func Test_syntax_completion() call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx') call assert_match('^"syn match Boolean Character ', @:) + + syn cluster Aax contains=Aap + call feedkeys(":syn list @A\<C-A>\<C-B>\"\<CR>", 'tx') + call assert_match('^"syn list @Aax', @:) endfunc func Test_echohl_completion()