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

@ -1,7 +1,7 @@
" Vim syntax file
" Language: Vim help file
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2025 Jul 12
" Last Change: 2025 Jul 20
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Quit when a (custom) syntax file was already loaded
@ -179,6 +179,9 @@ syn match helpDelimiter "\t[* ]Delimiter\t\+[a-z].*"
syn match helpSpecialComment "\t[* ]SpecialComment\t\+[a-z].*"
syn match helpDebug "\t[* ]Debug\t\+[a-z].*"
syn match helpUnderlined "\t[* ]Underlined\t\+[a-z].*"
syn match helpBold "\t[* ]Bold\t\+[a-z].*"
syn match helpItalic "\t[* ]Italic\t\+[a-z].*"
syn match helpBoldItalic "\t[* ]BoldItalic\t\+[a-z].*"
syn match helpError "\t[* ]Error\t\+[a-z].*"
syn match helpTodo "\t[* ]Todo\t\+[a-z].*"
@ -250,6 +253,9 @@ hi def link helpDelimiter Delimiter
hi def link helpSpecialComment SpecialComment
hi def link helpDebug Debug
hi def link helpUnderlined Underlined
hi def link helpBold Bold
hi def link helpItalic Italic
hi def link helpBoldItalic BoldItalic
hi def link helpError Error
hi def link helpTodo Todo
hi def link helpURL String