runtime(org): Link to generic bold/Italic highlighting groups
Commit:
https://github.com/vim/vim/commit/c23aebdf99ae733841de881d79e0f80319da947b
Author: Maxim Kim <
hab...@gmail.com>
Date: Thu Apr 9 18:41:47 2026 +0000
runtime(org): Link to generic bold/Italic highlighting groups
fixes:
https://github.com/vim/vim/issues/19933
Signed-off-by: Maxim Kim <
hab...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/syntax/org.vim b/runtime/syntax/org.vim
index f4e938f9e..75264be5d 100644
--- a/runtime/syntax/org.vim
+++ b/runtime/syntax/org.vim
@@ -3,6 +3,7 @@
" Previous Maintainer: Luca Saccarola <
github...@aleeas.com>
" Maintainer: This runtime file is looking for a new maintainer.
" Last Change: 2025 Aug 05
+" 2026 Apr 09: Link to generic Bold/Italic groups
"
" Reference Specification: Org mode manual
" GNU Info: `$ info Org`
@@ -18,17 +19,17 @@ syn case ignore
" Bold
syn region orgBold matchgroup=orgBoldDelimiter start="\(^\|[- '"({\]]\)\@<=\*\ze[^ ]" end="^\@!\*\([^\k\*]\|$\)\@=" keepend
-hi def link orgBold markdownBold
+hi def link orgBold Bold
hi def link orgBoldDelimiter orgBold
" Italic
syn region orgItalic matchgroup=orgItalicDelimiter start="\(^\|[- '"({\]]\)\@<=\/\ze[^ ]" end="^\@!\/\([^\k\/]\|$\)\@=" keepend
-hi def link orgItalic markdownItalic
+hi def link orgItalic Italic
hi def link orgItalicDelimiter orgItalic
" Strikethrogh
syn region orgStrikethrough matchgroup=orgStrikethroughDelimiter start="\(^\|[ '"({\]]\)\@<=+\ze[^ ]" end="^\@!+\([^\k+]\|$\)\@=" keepend
-hi def link orgStrikethrough markdownStrike
+hi def orgStrikethrough term=strikethrough cterm=strikethrough gui=strikethrough
hi def link orgStrikethroughDelimiter orgStrikethrough
" Underline