0
0
mirror of https://github.com/vim/vim.git synced 2025-10-16 07:24:23 -04:00

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

fixes: #18505

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-10-07 18:57:33 +00:00
parent 5d96fe83b5
commit 1082193e73

View File

@@ -5,9 +5,10 @@
" Last Change: Apr 22, 2022 " Last Change: Apr 22, 2022
" 2024 Feb 19 by Vim Project: announce adoption " 2024 Feb 19 by Vim Project: announce adoption
" 2025 Jan 18 by Vim Project: add texEmphStyle to texMatchGroup, #16228 " 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 " \newcommand and \newenvironment #16543
" 2025 Sep 29 by Vim Project: add amsmath support #18433 " 2025 Sep 29 by Vim Project: add amsmath support #18433
" 2025 Oct 06 by Vim Project: link texBoldStyle to Bold, etc #18505
" Version: 121 " Version: 121
" Former URL: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX " 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 hi def link texError Error
endif endif
hi texBoldStyle gui=bold cterm=bold hi def link texBoldStyle Bold
hi texItalStyle gui=italic cterm=italic hi def link texItalStyle Italic
hi texBoldItalStyle gui=bold,italic cterm=bold,italic hi def link texBoldItalStyle BoldItalic
hi texItalBoldStyle gui=bold,italic cterm=bold,italic hi def link texItalBoldStyle BoldItalic
hi def link texEmphStyle texItalStyle hi def link texEmphStyle texItalStyle
hi def link texCite texRefZone hi def link texCite texRefZone
hi def link texDefCmd texDef hi def link texDefCmd texDef