diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-27 06:44:13 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-27 07:03:07 +0800 |
commit | 2676555b229feae462df32bf6dfce7f234b7be53 (patch) | |
tree | fcf238602aedfcc8cca43f705a267037f5ee579d /src/nvim/testdir | |
parent | cc2c8be481d3bb81ba8881097aa153bcbf64fa23 (diff) | |
download | rneovim-2676555b229feae462df32bf6dfce7f234b7be53.tar.gz rneovim-2676555b229feae462df32bf6dfce7f234b7be53.tar.bz2 rneovim-2676555b229feae462df32bf6dfce7f234b7be53.zip |
vim-patch:9.0.0283: cannot complete "syn list @cluster"
Problem: Cannot complete "syn list @cluster".
Solution: Recognize and handle "list @". (Björn Linse, closes vim/vim#10990)
https://github.com/vim/vim/commit/af9a6002e0761012cb7108cbfa179a880d3cb49b
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_syntax.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim index 85f27dd043..ccff01486e 100644 --- a/src/nvim/testdir/test_syntax.vim +++ b/src/nvim/testdir/test_syntax.vim @@ -198,6 +198,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() |