diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-11-10 11:46:45 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-10 11:46:45 +0800 |
| commit | cf347110c190944c1e59fc15751feebe9e77ccfc (patch) | |
| tree | 47a445fe962ac686bf9e6e835a2c25f46c24abc6 /runtime/syntax/help.vim | |
| parent | c2c5a0297e0048a7d1b75e03e1ae7d4229052108 (diff) | |
| parent | 2b49a0e77382a1c78a73ffe701d4aef9a2f84d2f (diff) | |
| download | rneovim-cf347110c190944c1e59fc15751feebe9e77ccfc.tar.gz rneovim-cf347110c190944c1e59fc15751feebe9e77ccfc.tar.bz2 rneovim-cf347110c190944c1e59fc15751feebe9e77ccfc.zip | |
Merge pull request #36504 from zeertzjq/vim-c8eeda9
vim-patch: doc header updates
Diffstat (limited to 'runtime/syntax/help.vim')
| -rw-r--r-- | runtime/syntax/help.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim index f86b316d17..e5dd1be1d2 100644 --- a/runtime/syntax/help.vim +++ b/runtime/syntax/help.vim @@ -60,8 +60,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 "NVIM REFERENCE.*" +syn match helpVim "^\s\+\zsNVIM - help$" +syn region helpVim start="^\s\+N\?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'" |