patch 9.1.1568: need a few more default highlight groups

Problem:  need a few more default highlight groups
Solution: Add Bold, Italic and BoldItalic default highlight groups
          (Maxim Kim).

related: https://github.com/vim/vim/pull/17598#issuecomment-3007320523
closes: #17804

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Maxim Kim
2025-07-20 09:32:11 +02:00
committed by Christian Brabandt
parent c8b99e2d13
commit 16f7098e68
6 changed files with 23 additions and 6 deletions

View File

@ -191,14 +191,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 Added Boolean Changed Character ', @:)
call assert_match('^"syn list Aap Added Bold BoldItalic Boolean Changed Character ', @:)
hi clear Aap
call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match('^"syn list Added Boolean Changed Character ', @:)
call assert_match('^"syn list Added Bold BoldItalic Boolean Changed Character ', @:)
call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match('^"syn match Added Boolean Changed Character ', @:)
call assert_match('^"syn match Added Bold BoldItalic Boolean Changed Character ', @:)
syn cluster Aax contains=Aap
call feedkeys(":syn list @A\<C-A>\<C-B>\"\<CR>", 'tx')

View File

@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1568,
/**/
1567,
/**/