]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(tex): link some tex highlight groups to new standard ones
authorChristian Brabandt <cb@256bit.org>
Tue, 7 Oct 2025 18:57:33 +0000 (18:57 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 7 Oct 2025 18:59:03 +0000 (18:59 +0000)
fixes: #18505

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/tex.vim

index ec9d90510ddb3ac295137778e8ff143d8d18f416..455613c8fbbceabef1c26d879eaef82e48961aed 100644 (file)
@@ -5,9 +5,10 @@
 " Last Change: Apr 22, 2022
 "   2024 Feb 19 by Vim Project: announce adoption
 "   2025 Jan 18 by Vim Project: add texEmphStyle to texMatchGroup, #16228
-"   2025 Feb 08 by Vim Project: improve macro option, \providecommand, 
+"   2025 Feb 08 by Vim Project: improve macro option, \providecommand,
 "                               \newcommand and \newenvironment #16543
 "   2025 Sep 29 by Vim Project: add amsmath support #18433
+"   2025 Oct 06 by Vim Project: link texBoldStyle to Bold, etc #18505
 " Version:     121
 " Former URL:  http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX
 "
@@ -1317,10 +1318,10 @@ if !exists("skip_tex_syntax_inits")
    hi def link texError                        Error
   endif
 
-  hi texBoldStyle              gui=bold        cterm=bold
-  hi texItalStyle              gui=italic      cterm=italic
-  hi texBoldItalStyle          gui=bold,italic cterm=bold,italic
-  hi texItalBoldStyle          gui=bold,italic cterm=bold,italic
+  hi def link texBoldStyle     Bold
+  hi def link texItalStyle     Italic
+  hi def link texBoldItalStyle BoldItalic
+  hi def link texItalBoldStyle BoldItalic
   hi def link texEmphStyle     texItalStyle
   hi def link texCite          texRefZone
   hi def link texDefCmd                texDef