runtime(tex): link some tex highlight groups to new standard ones

Commit: 
https://github.com/vim/vim/commit/1082193e732de5a1874331c2669a7aa3da956094
Author: Christian Brabandt <[email protected]>
Date:   Tue Oct 7 18:57:33 2025 +0000

    runtime(tex): link some tex highlight groups to new standard ones
    
    fixes: https://github.com/vim/vim/issues/18505
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/syntax/tex.vim b/runtime/syntax/tex.vim
index ec9d90510..455613c8f 100644
--- a/runtime/syntax/tex.vim
+++ b/runtime/syntax/tex.vim
@@ -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,
 "                               
ewcommand and 
ewenvironment #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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1v6Cuu-000NCy-Bx%40256bit.org.

Raspunde prin e-mail lui