aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 20:26:22 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 21:25:35 -0400
commite7f6c520141c104960790d9bb2e52260ba959b76 (patch)
treeca42aab8e3c440bdbbef1dc4b2244fa0b4211edf /runtime/syntax/help.vim
parenta299f54cd7e949e93a9ddc07ec13999e6da489af (diff)
downloadrneovim-e7f6c520141c104960790d9bb2e52260ba959b76.tar.gz
rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.tar.bz2
rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.zip
vim-patch:b17893aa940d
Update runtime files https://github.com/vim/vim/commit/b17893aa940dc7d45421f875f5d90855880aad27 Omit feedkeys() changes.
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 c970278742..a387dd4342 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")