Mercurial > vim
comparison runtime/syntax/help.vim @ 19646:847a300aa244
Update runtime files
Commit: https://github.com/vim/vim/commit/b17893aa940dc7d45421f875f5d90855880aad27
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 14 08:19:51 2020 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Mar 2020 08:30:08 +0100 |
parents | 99586852c2db |
children | 1b345fb68ae3 |
comparison
equal
deleted
inserted
replaced
19645:c4e27eead327 | 19646:847a300aa244 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Vim help file | 2 " Language: Vim help file |
3 " Maintainer: Bram Moolenaar (Bram@vim.org) | 3 " Maintainer: Bram Moolenaar (Bram@vim.org) |
4 " Last Change: 2019 Nov 26 | 4 " Last Change: 2020 Mar 06 |
5 | 5 |
6 " Quit when a (custom) syntax file was already loaded | 6 " Quit when a (custom) syntax file was already loaded |
7 if exists("b:current_syntax") | 7 if exists("b:current_syntax") |
8 finish | 8 finish |
9 endif | 9 endif |
10 | 10 |
11 let s:cpo_save = &cpo | 11 let s:cpo_save = &cpo |
12 set cpo&vim | 12 set cpo&vim |
13 | 13 |
14 syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()_]*[ \t]\+\*"me=e-1 | 14 syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()_]*\ze\(\s\+\*\|$\)" |
15 syn match helpSectionDelim "^===.*===$" | 15 syn match helpSectionDelim "^===.*===$" |
16 syn match helpSectionDelim "^---.*--$" | 16 syn match helpSectionDelim "^---.*--$" |
17 if has("conceal") | 17 if has("conceal") |
18 syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<" concealends | 18 syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<" concealends |
19 else | 19 else |