summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-14 08:19:51 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-14 08:19:51 +0100
commitb17893aa940dc7d45421f875f5d90855880aad27 (patch)
tree57dc220f610b9b7a10f3eb3ae6a8df27214b8177 /runtime/syntax/help.vim
parent965fd8d4dc5e84f612d8fc1efeaa78bd17842c9b (diff)
Update runtime files
Diffstat (limited to 'runtime/syntax/help.vim')
-rw-r--r--runtime/syntax/help.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/help.vim b/runtime/syntax/help.vim
index a8d45a4af5..b03dd593d1 100644
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Vim help file
" Maintainer: Bram Moolenaar (Bram@vim.org)
-" Last Change: 2019 Nov 26
+" Last Change: 2020 Mar 06
" Quit when a (custom) syntax file was already loaded
if exists("b:current_syntax")
@@ -11,7 +11,7 @@ endif
let s:cpo_save = &cpo
set cpo&vim
-syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()_]*[ \t]\+\*"me=e-1
+syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()_]*\ze\(\s\+\*\|$\)"
syn match helpSectionDelim "^===.*===$"
syn match helpSectionDelim "^---.*--$"
if has("conceal")