0
0
mirror of https://github.com/vim/vim.git synced 2025-11-14 23:04:02 -05:00

runtime(doc): Improve header formatting

- Normalise header formatting and highlight all bylines.
- Remove broken email address from if_sniff.txt.

closes: #18601

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-10-26 19:29:28 +00:00
committed by Christian Brabandt
parent 3fc00c05fb
commit c8eeda9b15
57 changed files with 246 additions and 158 deletions

View File

@@ -98,7 +98,9 @@ syn match helpNormal "|.*====*|"
syn match helpNormal "|||"
syn match helpNormal ":|vim:|" " for :help modeline
syn match helpVim "\<Vim version [0-9][0-9.a-z]*"
syn match helpVim "VIM REFERENCE.*"
syn match helpVim "^\s\+\zsVIM - main help file$"
syn region helpVim start="^\s\+VIM REFERENCE" end="^$"
syn region helpVim start="^\s\+VIM USER MANUAL" end="^$"
syn match helpOption "'[a-z]\{2,\}'"
syn match helpOption "'t_..'"
syn match helpNormal "'ab'"