Mercurial > vim
comparison runtime/syntax/help.vim @ 2965:f2de38a019a2
Updated runtime files.
Add missing test82 files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 18 Jul 2011 19:40:27 +0200 |
parents | 840c3cadb842 |
children | 8b8ef1fed009 |
comparison
equal
deleted
inserted
replaced
2964:39cb812cf477 | 2965:f2de38a019a2 |
---|---|
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: 2010 Nov 03 | 4 " Last Change: 2011 Jul 11 |
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 |
19 else | 19 else |
20 syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar | 20 syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar |
21 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar | 21 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar |
22 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar | 22 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar |
23 endif | 23 endif |
24 syn match helpBar contained "|" conceal | 24 if has("conceal") |
25 syn match helpStar contained "\*" conceal | 25 syn match helpBar contained "|" conceal |
26 syn match helpStar contained "\*" conceal | |
27 else | |
28 syn match helpBar contained "|" | |
29 syn match helpStar contained "\*" | |
30 endif | |
26 syn match helpNormal "|.*====*|" | 31 syn match helpNormal "|.*====*|" |
27 syn match helpNormal ":|vim:|" " for :help modeline | 32 syn match helpNormal ":|vim:|" " for :help modeline |
28 syn match helpVim "Vim version [0-9.a-z]\+" | 33 syn match helpVim "Vim version [0-9.a-z]\+" |
29 syn match helpVim "VIM REFERENCE.*" | 34 syn match helpVim "VIM REFERENCE.*" |
30 syn match helpOption "'[a-z]\{2,\}'" | 35 syn match helpOption "'[a-z]\{2,\}'" |
31 syn match helpOption "'t_..'" | 36 syn match helpOption "'t_..'" |
32 syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore | 37 syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore |
33 syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore | 38 syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore |
34 syn match helpIgnore "." contained conceal | 39 if has("conceal") |
40 syn match helpIgnore "." contained conceal | |
41 else | |
42 syn match helpIgnore "." contained | |
43 endif | |
35 syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes: | 44 syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes: |
36 syn match helpSpecial "\<N\>" | 45 syn match helpSpecial "\<N\>" |
37 syn match helpSpecial "\<N\.$"me=e-1 | 46 syn match helpSpecial "\<N\.$"me=e-1 |
38 syn match helpSpecial "\<N\.\s"me=e-2 | 47 syn match helpSpecial "\<N\.\s"me=e-2 |
39 syn match helpSpecial "(N\>"ms=s+1 | 48 syn match helpSpecial "(N\>"ms=s+1 |