aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/help.vim
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-11-10 09:05:25 +0000
committerGitHub <noreply@github.com>2022-11-10 09:05:25 +0000
commitbefae73044fa367c6d0d82bf4b61501010e7545d (patch)
tree0ac3389893595903df770553daea260e9ce18f47 /runtime/syntax/help.vim
parent61d152779d9e84b52fc85d24cea51ad04284054d (diff)
downloadrneovim-befae73044fa367c6d0d82bf4b61501010e7545d.tar.gz
rneovim-befae73044fa367c6d0d82bf4b61501010e7545d.tar.bz2
rneovim-befae73044fa367c6d0d82bf4b61501010e7545d.zip
vim-patch:76db9e076318 (#21013)
Update runtime files https://github.com/vim/vim/commit/76db9e076318cb0ae846f43b7549ad4f2d234c0b - `col()`'s example was changed to use `:echowin` so that the message can be seen with `showmode`. Use "\n" to force a hit-enter instead as `:echowin` isn't ported. - Replace interpolated string usage in syntax/modula3.vim (not ported). - Add a space after the `wincmd =` examples in `*CTRL-W_=*` so that the inlined code is highlighted properly when followed by a full stop. Co-authored-by: Bram Moolenaar <Bram@vim.org>
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 1882fe8d67..82add63482 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: 2022 Oct 17
+" Last Change: 2022 Nov 09
" 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 .()_]*?\=\ze\(\s\+\*\|$\)"
+syn match helpHeadline "^[A-Z.][-A-Z0-9 .,()_]*?\=\ze\(\s\+\*\|$\)"
syn match helpSectionDelim "^===.*===$"
syn match helpSectionDelim "^---.*--$"
if has("conceal")