runtime(org): Link to generic bold/Italic highlighting groups
Commit:
https://github.com/vim/vim/commit/c23aebdf99ae733841de881d79e0f80319da947b
Author: Maxim Kim <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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 <[email protected]>
" 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
--
--
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/E1wAuNH-00C3vi-E3%40256bit.org.