annotate runtime/syntax/help.vim @ 32169:763fac292d5e

Added tag v9.0.1415 for changeset 6bdf843c30231851efbb85a230e9e5e5d9cacd34
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Mar 2023 21:45:06 +0100
parents 20cf2080f1ee
children 4027cefc2aab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Vim help file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar (Bram@vim.org)
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
4 " Last Change: 2022 Nov 13
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
6 " Quit when a (custom) syntax file was already loaded
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
11 let s:cpo_save = &cpo
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
12 set cpo&vim
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
13
31139
20cf2080f1ee Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 31028
diff changeset
14 syn match helpHeadline "^[A-Z.][-A-Z0-9 .,()_']*?\=\ze\(\s\+\*\|$\)"
3713
9910cbff5f16 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3526
diff changeset
15 syn match helpSectionDelim "^===.*===$"
9910cbff5f16 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3526
diff changeset
16 syn match helpSectionDelim "^---.*--$"
5161
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 4780
diff changeset
17 if has("conceal")
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 4780
diff changeset
18 syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<" concealends
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 4780
diff changeset
19 else
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 4780
diff changeset
20 syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<"
f7add3891e95 Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents: 4780
diff changeset
21 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 if has("ebcdic")
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 821
diff changeset
23 syn match helpHyperTextJump "\\\@<!|[^"*|]\+|" contains=helpBar
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 827
diff changeset
24 syn match helpHyperTextEntry "\*[^"*|]\+\*\s"he=e-1 contains=helpStar
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 827
diff changeset
25 syn match helpHyperTextEntry "\*[^"*|]\+\*$" contains=helpStar
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 else
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 821
diff changeset
27 syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 827
diff changeset
28 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 827
diff changeset
29 syn match helpHyperTextEntry "\*[#-)!+-~]\+\*$" contains=helpStar
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 endif
2965
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
31 if has("conceal")
4098
058f26a834c4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3713
diff changeset
32 syn match helpBar contained "|" conceal
058f26a834c4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3713
diff changeset
33 syn match helpBacktick contained "`" conceal
2965
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
34 syn match helpStar contained "\*" conceal
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
35 else
4098
058f26a834c4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3713
diff changeset
36 syn match helpBar contained "|"
058f26a834c4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3713
diff changeset
37 syn match helpBacktick contained "`"
2965
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
38 syn match helpStar contained "\*"
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
39 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match helpNormal "|.*====*|"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2965
diff changeset
41 syn match helpNormal "|||"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match helpNormal ":|vim:|" " for :help modeline
5692
80e5f9584b02 Update runtime files. Add Euphoria syntax files.
Bram Moolenaar <bram@vim.org>
parents: 5510
diff changeset
43 syn match helpVim "\<Vim version [0-9][0-9.a-z]*"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match helpVim "VIM REFERENCE.*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match helpOption "'[a-z]\{2,\}'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match helpOption "'t_..'"
30547
1e91e26ceebf Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28933
diff changeset
47 syn match helpNormal "'ab'"
5340
22da5ab9aaa1 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5161
diff changeset
48 syn match helpCommand "`[^` \t]\+`"hs=s+1,he=e-1 contains=helpBacktick
8869
b73f9ed65072 commit https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
Christian Brabandt <cb@256bit.org>
parents: 5692
diff changeset
49 syn match helpCommand "\(^\|[^a-z"[]\)\zs`[^`]\+`\ze\([^a-z\t."']\|$\)"hs=s+1,he=e-1 contains=helpBacktick
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match helpHeader "\s*\zs.\{-}\ze\s\=\~$" nextgroup=helpIgnore
2642
840c3cadb842 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2345
diff changeset
51 syn match helpGraphic ".* \ze`$" nextgroup=helpIgnore
2965
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
52 if has("conceal")
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
53 syn match helpIgnore "." contained conceal
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
54 else
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
55 syn match helpIgnore "." contained
f2de38a019a2 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
56 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn keyword helpNote note Note NOTE note: Note: NOTE: Notes Notes:
11518
63b0b7b79b25 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10140
diff changeset
58 syn keyword helpWarning WARNING WARNING: Warning:
63b0b7b79b25 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10140
diff changeset
59 syn keyword helpDeprecated DEPRECATED DEPRECATED: Deprecated:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match helpSpecial "\<N\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match helpSpecial "\<N\.$"me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match helpSpecial "\<N\.\s"me=e-2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match helpSpecial "(N\>"ms=s+1
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
64
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn match helpSpecial "\[N]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 " avoid highlighting N N in help.txt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match helpSpecial "N N"he=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match helpSpecial "Nth"me=e-2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match helpSpecial "N-1"me=e-2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match helpSpecial "{[-a-zA-Z0-9'"*+/:%#=[\]<>.,]\+}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match helpSpecial "\s\[[-a-z^A-Z0-9_]\{2,}]"ms=s+1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match helpSpecial "<[-a-zA-Z0-9_]\+>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match helpSpecial "<[SCM]-.>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match helpNormal "<---*>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match helpSpecial "\[range]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match helpSpecial "\[line]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match helpSpecial "\[count]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match helpSpecial "\[offset]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match helpSpecial "\[cmd]"
25056
43593a5d873f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 21676
diff changeset
80 syn match helpNormal "vim9\[cmd]"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn match helpSpecial "\[num]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn match helpSpecial "\[+num]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match helpSpecial "\[-num]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match helpSpecial "\[+cmd]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match helpSpecial "\[++opt]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match helpSpecial "\[arg]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match helpSpecial "\[arguments]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match helpSpecial "\[ident]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match helpSpecial "\[addr]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn match helpSpecial "\[group]"
12756
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
91 " Don't highlight [converted] and others that do not have a tag
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
92 syn match helpNormal "\[\(readonly\|fifo\|socket\|converted\|crypted\)]"
3b26420fc639 Long overdue runtime update.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
93
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match helpSpecial "CTRL-."
18719
99586852c2db Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16808
diff changeset
95 syn match helpSpecial "CTRL-SHIFT-."
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn match helpSpecial "CTRL-Break"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn match helpSpecial "CTRL-PageUp"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn match helpSpecial "CTRL-PageDown"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn match helpSpecial "CTRL-Insert"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match helpSpecial "CTRL-Del"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn match helpSpecial "CTRL-{char}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn region helpNotVi start="{Vi[: ]" start="{not" start="{only" end="}" contains=helpLeadBlank,helpHyperTextJump
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn match helpLeadBlank "^\s\+" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 " Highlight group items in their own color.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match helpComment "\t[* ]Comment\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match helpConstant "\t[* ]Constant\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match helpString "\t[* ]String\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn match helpCharacter "\t[* ]Character\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match helpNumber "\t[* ]Number\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match helpBoolean "\t[* ]Boolean\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match helpFloat "\t[* ]Float\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match helpIdentifier "\t[* ]Identifier\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn match helpFunction "\t[* ]Function\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn match helpStatement "\t[* ]Statement\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn match helpConditional "\t[* ]Conditional\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match helpRepeat "\t[* ]Repeat\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn match helpLabel "\t[* ]Label\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn match helpOperator "\t[* ]Operator\t\+["a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn match helpKeyword "\t[* ]Keyword\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match helpException "\t[* ]Exception\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match helpPreProc "\t[* ]PreProc\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match helpInclude "\t[* ]Include\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match helpDefine "\t[* ]Define\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn match helpMacro "\t[* ]Macro\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn match helpPreCondit "\t[* ]PreCondit\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match helpType "\t[* ]Type\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn match helpStorageClass "\t[* ]StorageClass\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn match helpStructure "\t[* ]Structure\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn match helpTypedef "\t[* ]Typedef\t\+[Aa-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match helpSpecial "\t[* ]Special\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match helpSpecialChar "\t[* ]SpecialChar\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn match helpTag "\t[* ]Tag\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn match helpDelimiter "\t[* ]Delimiter\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn match helpSpecialComment "\t[* ]SpecialComment\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match helpDebug "\t[* ]Debug\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn match helpUnderlined "\t[* ]Underlined\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match helpError "\t[* ]Error\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn match helpTodo "\t[* ]Todo\t\+[a-z].*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140
810
9f345c48220b updated for version 7.0c
vimboss
parents: 502
diff changeset
141 syn match helpURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' <>"]+)[a-zA-Z0-9/]`
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " Additionally load a language-specific syntax file "help_ab.vim".
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 7
diff changeset
144 let s:i = match(expand("%"), '\.\a\ax$')
73354c21f1e4 updated for version 7.0066
vimboss
parents: 7
diff changeset
145 if s:i > 0
73354c21f1e4 updated for version 7.0066
vimboss
parents: 7
diff changeset
146 exe "runtime syntax/help_" . strpart(expand("%"), s:i + 1, 2) . ".vim"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
2289
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
149 " Italian
2308
cb025511f6b6 Minor runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 2296
diff changeset
150 if v:lang =~ '\<IT\>' || v:lang =~ '_IT\>' || v:lang =~? "italian"
cb025511f6b6 Minor runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 2296
diff changeset
151 syn keyword helpNote nota Nota NOTA nota: Nota: NOTA: notare Notare NOTARE notare: Notare: NOTARE:
2289
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
152 syn match helpSpecial "Nma"me=e-2
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
153 syn match helpSpecial "Nme"me=e-2
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
154 syn match helpSpecial "Nmi"me=e-2
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
155 syn match helpSpecial "Nmo"me=e-2
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
156 syn match helpSpecial "\[interv.]"
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
157 syn region helpNotVi start="{non" start="{solo" start="{disponibile" end="}" contains=helpLeadBlank,helpHyperTextJump
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
158 endif
3331756e4232 Make synstack() work on the character just after the end of the line.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
159
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn sync minlines=40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 " Define the default highlighting.
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
164 " Only used when an item doesn't have highlighting yet
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
165 hi def link helpIgnore Ignore
5510
d7d7bac1a163 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5340
diff changeset
166 hi def link helpHyperTextJump Identifier
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 821
diff changeset
167 hi def link helpBar Ignore
4098
058f26a834c4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3713
diff changeset
168 hi def link helpBacktick Ignore
828
01583c79d5f4 updated for version 7.0d03
vimboss
parents: 827
diff changeset
169 hi def link helpStar Ignore
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
170 hi def link helpHyperTextEntry String
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
171 hi def link helpHeadline Statement
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
172 hi def link helpHeader PreProc
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
173 hi def link helpSectionDelim PreProc
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
174 hi def link helpVim Identifier
3492
3482d151136b Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3256
diff changeset
175 hi def link helpCommand Comment
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
176 hi def link helpExample Comment
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
177 hi def link helpOption Type
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
178 hi def link helpNotVi Special
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
179 hi def link helpSpecial Special
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
180 hi def link helpNote Todo
10140
b11ceef7116e commit https://github.com/vim/vim/commit/64d8e25bf6efe5f18b032563521c3ce278c316ab
Christian Brabandt <cb@256bit.org>
parents: 8869
diff changeset
181 hi def link helpWarning Todo
11518
63b0b7b79b25 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10140
diff changeset
182 hi def link helpDeprecated Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
184 hi def link helpComment Comment
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
185 hi def link helpConstant Constant
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
186 hi def link helpString String
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
187 hi def link helpCharacter Character
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
188 hi def link helpNumber Number
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
189 hi def link helpBoolean Boolean
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
190 hi def link helpFloat Float
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
191 hi def link helpIdentifier Identifier
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
192 hi def link helpFunction Function
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
193 hi def link helpStatement Statement
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
194 hi def link helpConditional Conditional
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
195 hi def link helpRepeat Repeat
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
196 hi def link helpLabel Label
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
197 hi def link helpOperator Operator
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
198 hi def link helpKeyword Keyword
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
199 hi def link helpException Exception
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
200 hi def link helpPreProc PreProc
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
201 hi def link helpInclude Include
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
202 hi def link helpDefine Define
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
203 hi def link helpMacro Macro
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
204 hi def link helpPreCondit PreCondit
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
205 hi def link helpType Type
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
206 hi def link helpStorageClass StorageClass
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
207 hi def link helpStructure Structure
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
208 hi def link helpTypedef Typedef
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
209 hi def link helpSpecialChar SpecialChar
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
210 hi def link helpTag Tag
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
211 hi def link helpDelimiter Delimiter
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
212 hi def link helpSpecialComment SpecialComment
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
213 hi def link helpDebug Debug
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
214 hi def link helpUnderlined Underlined
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
215 hi def link helpError Error
7033303ea0c0 updated for version 7.0089
vimboss
parents: 237
diff changeset
216 hi def link helpTodo Todo
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 344
diff changeset
217 hi def link helpURL String
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218
28933
57c9377b9c62 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 28862
diff changeset
219 if has('textprop') && expand('%:p') =~ '[/\\]doc[/\\]syntax.txt'
28777
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25056
diff changeset
220 " highlight groups with their respective color
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25056
diff changeset
221 import 'dist/vimhelp.vim'
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25056
diff changeset
222 call vimhelp.HighlightGroups()
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25056
diff changeset
223 endif
b96ceb97e896 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25056
diff changeset
224
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 let b:current_syntax = "help"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
227 let &cpo = s:cpo_save
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
228 unlet s:cpo_save
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 " vim: ts=8 sw=2