diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-24 21:08:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 21:08:21 +0200 |
commit | c545d514dfe1f45f86a54b313082c5171bb0ce1b (patch) | |
tree | 6095614b6795a105c0e1b2bfc7cc00e0754cd951 /src/nvim/testdir | |
parent | 3b2121cedfd7c2710b69bd38a3eb2ce51e0205e4 (diff) | |
parent | 61be343ec8c5e4d504db7ba975b20af2f46ce50d (diff) | |
download | rneovim-c545d514dfe1f45f86a54b313082c5171bb0ce1b.tar.gz rneovim-c545d514dfe1f45f86a54b313082c5171bb0ce1b.tar.bz2 rneovim-c545d514dfe1f45f86a54b313082c5171bb0ce1b.zip |
Merge pull request #19830 from lewis6991/hlgroup_name
feat(highlight)!: error on invalid names and allow '.' and '@'
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_syntax.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim index 7ba0149971..af93a37739 100644 --- a/src/nvim/testdir/test_syntax.vim +++ b/src/nvim/testdir/test_syntax.vim @@ -389,7 +389,7 @@ func Test_invalid_name() syn keyword Nop yes call assert_fails("syntax keyword Wr\x17ong bar", 'E669:') syntax keyword @Wrong bar - call assert_match('W18:', execute('1messages')) + call assert_fails("syntax keyword @#Wrong bar", 'E5248:') syn clear hi clear Nop hi clear @Wrong |