" Vim syntax file
" Language: Vim help file
" Maintainer: Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2025 Sep 29
+" Last Change: 2025 Oct 03
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Quit when a (custom) syntax file was already loaded
syn cluster helpExampleHighlight_vim9 add=vim9LegacyHeader_HelpExample
endif
+" builtin.txt
+syn region helpReturnType
+ \ start="^\t\tReturn type: "
+ \ end="^$"
+ \ contains=@vimType,helpHyperTextJump,helpSpecial
+ \ transparent
+syn match helpSpecial contained "{type}" containedin=vimCompoundType
+
if has("ebcdic")
syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar
syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar