diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-03 11:18:34 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-03-19 09:41:16 +0100 |
commit | c30ebb17f6b98625e3db8f032c2223876bb60f99 (patch) | |
tree | f4407dc37380f63ce3e27935895b88f60867ada5 /test | |
parent | 5e875ae8d07dd204ce5b1d97a8acf70e3835b40b (diff) | |
download | rneovim-c30ebb17f6b98625e3db8f032c2223876bb60f99.tar.gz rneovim-c30ebb17f6b98625e3db8f032c2223876bb60f99.tar.bz2 rneovim-c30ebb17f6b98625e3db8f032c2223876bb60f99.zip |
fix(treesitter): document more standard highlight groups
Problem: Not all standard treesitter groups are documented.
Solution: Document them all (without relying on fallback); add default
link for new `*.builtin` groups to `Special` and `@keyword.type` to
`Structure`. Remove `@markup.environment.*` which only made sense for
LaTeX.
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_syntax.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/old/testdir/test_syntax.vim b/test/old/testdir/test_syntax.vim index 711b2adf7c..35523df17d 100644 --- a/test/old/testdir/test_syntax.vim +++ b/test/old/testdir/test_syntax.vim @@ -197,14 +197,14 @@ func Test_syntax_completion() " Check that clearing "Aap" avoids it showing up before Boolean. hi @Aap ctermfg=blue call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx') - call assert_match('^"syn list @Aap @attribute @boolean @character ', @:) + call assert_match('^"syn list @Aap @attribute @attribute.builtin @boolean @character ', @:) hi clear @Aap call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx') - call assert_match('^"syn list @attribute @boolean @character ', @:) + call assert_match('^"syn list @attribute @attribute.builtin @boolean @character ', @:) call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx') - call assert_match('^"syn match @attribute @boolean @character ', @:) + call assert_match('^"syn match @attribute @attribute.builtin @boolean @character ', @:) syn cluster Aax contains=Aap call feedkeys(":syn list @A\<C-A>\<C-B>\"\<CR>", 'tx') |