Mercurial > vim
comparison runtime/syntax/help.vim @ 31028:5acd6f02ea35
Update runtime files
Commit: https://github.com/vim/vim/commit/76db9e076318cb0ae846f43b7549ad4f2d234c0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 9 21:21:04 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Nov 2022 22:30:09 +0100 |
parents | eb2638f278bf |
children | 20cf2080f1ee |
comparison
equal
deleted
inserted
replaced
31027:723450cea4f9 | 31028:5acd6f02ea35 |
---|---|
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: 2022 Oct 17 | 4 " Last Change: 2022 Nov 09 |
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 .()_]*?\=\ze\(\s\+\*\|$\)" | 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 |