Skip to content

Commit 1082193

Browse files
committed
runtime(tex): link some tex highlight groups to new standard ones
fixes: #18505 Signed-off-by: Christian Brabandt <[email protected]>
1 parent 5d96fe8 commit 1082193

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

runtime/syntax/tex.vim

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
" Last Change: Apr 22, 2022
66
" 2024 Feb 19 by Vim Project: announce adoption
77
" 2025 Jan 18 by Vim Project: add texEmphStyle to texMatchGroup, #16228
8-
" 2025 Feb 08 by Vim Project: improve macro option, \providecommand,
8+
" 2025 Feb 08 by Vim Project: improve macro option, \providecommand,
99
" \newcommand and \newenvironment #16543
1010
" 2025 Sep 29 by Vim Project: add amsmath support #18433
11+
" 2025 Oct 06 by Vim Project: link texBoldStyle to Bold, etc #18505
1112
" Version: 121
1213
" Former URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
1314
"
@@ -1317,10 +1318,10 @@ if !exists("skip_tex_syntax_inits")
13171318
hi def link texError Error
13181319
endif
13191320

1320-
hi texBoldStyle gui=bold cterm=bold
1321-
hi texItalStyle gui=italic cterm=italic
1322-
hi texBoldItalStyle gui=bold,italic cterm=bold,italic
1323-
hi texItalBoldStyle gui=bold,italic cterm=bold,italic
1321+
hi def link texBoldStyle Bold
1322+
hi def link texItalStyle Italic
1323+
hi def link texBoldItalStyle BoldItalic
1324+
hi def link texItalBoldStyle BoldItalic
13241325
hi def link texEmphStyle texItalStyle
13251326
hi def link texCite texRefZone
13261327
hi def link texDefCmd texDef

0 commit comments

Comments
 (0)