xref: /vim-8.2.3635/runtime/syntax/rhelp.vim (revision e4a3bcf2)
1362e1a30SBram Moolenaar" Vim syntax file
2362e1a30SBram Moolenaar" Language:    R Help File
3662db673SBram Moolenaar" Maintainer: Jakson Aquino <[email protected]>
4662db673SBram Moolenaar" Former Maintainer: Johannes Ranke <[email protected]>
577cdfd10SBram Moolenaar" Homepage: https://github.com/jalvesaq/R-Vim-runtime
6*e4a3bcf2SBram Moolenaar" Last Change: Tue Jun 28, 2016  08:53AM
781af9250SBram Moolenaar" Remarks:     - Includes R syntax highlighting in the appropriate
8362e1a30SBram Moolenaar"                sections if an r.vim file is in the same directory or in the
9362e1a30SBram Moolenaar"                default debian location.
10362e1a30SBram Moolenaar"              - There is no Latex markup in equations
115c73622aSBram Moolenaar"              - Thanks to Will Gray for finding and fixing a bug
1277cdfd10SBram Moolenaar"              - No support for \var tag within quoted string
13362e1a30SBram Moolenaar
14362e1a30SBram Moolenaar" Version Clears: {{{1
1577cdfd10SBram Moolenaarif exists("b:current_syntax")
16362e1a30SBram Moolenaar  finish
17362e1a30SBram Moolenaarendif
18362e1a30SBram Moolenaar
1977cdfd10SBram Moolenaarscriptencoding utf-8
20db6ea063SBram Moolenaar
21362e1a30SBram Moolenaarsyn case match
22362e1a30SBram Moolenaar
23662db673SBram Moolenaar" R help identifiers {{{1
24362e1a30SBram Moolenaarsyn region rhelpIdentifier matchgroup=rhelpSection	start="\\name{" end="}"
25362e1a30SBram Moolenaarsyn region rhelpIdentifier matchgroup=rhelpSection	start="\\alias{" end="}"
26662db673SBram Moolenaarsyn region rhelpIdentifier matchgroup=rhelpSection	start="\\pkg{" end="}" contains=rhelpLink
2777cdfd10SBram Moolenaarsyn region rhelpIdentifier matchgroup=rhelpSection	start="\\CRANpkg{" end="}" contains=rhelpLink
2881af9250SBram Moolenaarsyn region rhelpIdentifier matchgroup=rhelpSection start="\\method{" end="}" contained
2981af9250SBram Moolenaarsyn region rhelpIdentifier matchgroup=rhelpSection start="\\Rdversion{" end="}"
30362e1a30SBram Moolenaar
3177cdfd10SBram Moolenaar
32362e1a30SBram Moolenaar" Highlighting of R code using an existing r.vim syntax file if available {{{1
3318144c84SBram Moolenaarsyn include @R syntax/r.vim
34362e1a30SBram Moolenaar
35362e1a30SBram Moolenaar" Strings {{{1
36662db673SBram Moolenaarsyn region rhelpString start=/"/ skip=/\\"/ end=/"/ contains=rhelpSpecialChar,rhelpCodeSpecial,rhelpLink contained
37362e1a30SBram Moolenaar
38662db673SBram Moolenaar" Special characters in R strings
39662db673SBram Moolenaarsyn match rhelpCodeSpecial display contained "\\\\\(n\|r\|t\|b\|a\|f\|v\|'\|\"\)\|\\\\"
40662db673SBram Moolenaar
41662db673SBram Moolenaar" Special characters  ( \$ \& \% \# \{ \} \_)
42362e1a30SBram Moolenaarsyn match rhelpSpecialChar        "\\[$&%#{}_]"
43362e1a30SBram Moolenaar
44662db673SBram Moolenaar
45662db673SBram Moolenaar" R code {{{1
46662db673SBram Moolenaarsyn match rhelpDots		"\\dots" containedin=@R
47662db673SBram Moolenaarsyn region rhelpRcode matchgroup=Delimiter start="\\examples{" matchgroup=Delimiter transparent end="}" contains=@R,rhelpLink,rhelpIdentifier,rhelpString,rhelpSpecialChar,rhelpSection
48662db673SBram Moolenaarsyn region rhelpRcode matchgroup=Delimiter start="\\usage{" matchgroup=Delimiter transparent end="}" contains=@R,rhelpIdentifier,rhelpS4method
49662db673SBram Moolenaarsyn region rhelpRcode matchgroup=Delimiter start="\\synopsis{" matchgroup=Delimiter transparent end="}" contains=@R
50662db673SBram Moolenaarsyn region rhelpRcode matchgroup=Delimiter start="\\special{" matchgroup=Delimiter transparent end="}" contains=@R
51db6ea063SBram Moolenaar
52db6ea063SBram Moolenaarif v:version > 703
53db6ea063SBram Moolenaar  syn region rhelpRcode matchgroup=Delimiter start="\\code{" skip='\\\@1<!{.\{-}\\\@1<!}' transparent end="}" contains=@R,rhelpDots,rhelpString,rhelpSpecialChar,rhelpLink keepend
54db6ea063SBram Moolenaarelse
55662db673SBram Moolenaar  syn region rhelpRcode matchgroup=Delimiter start="\\code{" skip='\\\@<!{.\{-}\\\@<!}' transparent end="}" contains=@R,rhelpDots,rhelpString,rhelpSpecialChar,rhelpLink keepend
56db6ea063SBram Moolenaarendif
57662db673SBram Moolenaarsyn region rhelpS4method matchgroup=Delimiter start="\\S4method{.*}(" matchgroup=Delimiter transparent end=")" contains=@R,rhelpDots
58662db673SBram Moolenaarsyn region rhelpSexpr matchgroup=Delimiter start="\\Sexpr{" matchgroup=Delimiter transparent end="}" contains=@R
59662db673SBram Moolenaar
60662db673SBram Moolenaar" PreProc {{{1
61662db673SBram Moolenaarsyn match rhelpPreProc "^#ifdef.*"
62662db673SBram Moolenaarsyn match rhelpPreProc "^#endif.*"
63662db673SBram Moolenaar
64362e1a30SBram Moolenaar" Special Delimiters {{{1
65362e1a30SBram Moolenaarsyn match rhelpDelimiter		"\\cr"
66362e1a30SBram Moolenaarsyn match rhelpDelimiter		"\\tab "
67362e1a30SBram Moolenaar
68362e1a30SBram Moolenaar" Keywords {{{1
6977cdfd10SBram Moolenaarsyn match rhelpKeyword	"\\R\>"
7077cdfd10SBram Moolenaarsyn match rhelpKeyword	"\\ldots\>"
7177cdfd10SBram Moolenaarsyn match rhelpKeyword	"\\sspace\>"
72f9393ef5SBram Moolenaarsyn match rhelpKeyword  "--"
73f9393ef5SBram Moolenaarsyn match rhelpKeyword  "---"
7477cdfd10SBram Moolenaar
7577cdfd10SBram Moolenaar" Condition Keywords {{{2
7677cdfd10SBram Moolenaarsyn match rhelpKeyword	"\\if\>"
7777cdfd10SBram Moolenaarsyn match rhelpKeyword	"\\ifelse\>"
7877cdfd10SBram Moolenaarsyn match rhelpKeyword	"\\out\>"
7977cdfd10SBram Moolenaar" Examples of usage:
8077cdfd10SBram Moolenaar" \ifelse{latex}{\eqn{p = 5 + 6 - 7 \times 8}}{\eqn{p = 5 + 6 - 7 * 8}}
8177cdfd10SBram Moolenaar" \ifelse{latex}{\out{$\alpha$}}{\ifelse{html}{\out{&alpha;}}{alpha}}
8277cdfd10SBram Moolenaar
8377cdfd10SBram Moolenaar" Keywords and operators valid only if in math mode {{{2
8477cdfd10SBram Moolenaarsyn match rhelpMathOp  "<" contained
8577cdfd10SBram Moolenaarsyn match rhelpMathOp  ">" contained
8677cdfd10SBram Moolenaarsyn match rhelpMathOp  "+" contained
8777cdfd10SBram Moolenaarsyn match rhelpMathOp  "-" contained
8877cdfd10SBram Moolenaarsyn match rhelpMathOp  "=" contained
8977cdfd10SBram Moolenaar
9077cdfd10SBram Moolenaar" Conceal function based on syntax/tex.vim {{{2
9177cdfd10SBram Moolenaarif exists("g:tex_conceal")
9277cdfd10SBram Moolenaar  let s:tex_conceal = g:tex_conceal
9377cdfd10SBram Moolenaarelse
9477cdfd10SBram Moolenaar  let s:tex_conceal = 'gm'
9577cdfd10SBram Moolenaarendif
9677cdfd10SBram Moolenaarfunction s:HideSymbol(pat, cchar, hide)
9777cdfd10SBram Moolenaar  if a:hide
9877cdfd10SBram Moolenaar    exe "syn match rhelpMathSymb '" . a:pat . "' contained conceal cchar=" . a:cchar
9977cdfd10SBram Moolenaar  else
10077cdfd10SBram Moolenaar    exe "syn match rhelpMathSymb '" . a:pat . "' contained"
10177cdfd10SBram Moolenaar  endif
10277cdfd10SBram Moolenaarendfunction
10377cdfd10SBram Moolenaar
10477cdfd10SBram Moolenaar" Math symbols {{{2
10577cdfd10SBram Moolenaarif s:tex_conceal =~ 'm'
10677cdfd10SBram Moolenaar  let s:hd = 1
10777cdfd10SBram Moolenaarelse
10877cdfd10SBram Moolenaar  let s:hd = 0
10977cdfd10SBram Moolenaarendif
11077cdfd10SBram Moolenaarcall s:HideSymbol('\\infty\>',  '∞', s:hd)
11177cdfd10SBram Moolenaarcall s:HideSymbol('\\ge\>',     '≥', s:hd)
11277cdfd10SBram Moolenaarcall s:HideSymbol('\\le\>',     '≤', s:hd)
11377cdfd10SBram Moolenaarcall s:HideSymbol('\\prod\>',   '∏', s:hd)
11477cdfd10SBram Moolenaarcall s:HideSymbol('\\sum\>',    '∑', s:hd)
11577cdfd10SBram Moolenaarsyn match rhelpMathSymb   	"\\sqrt\>" contained
11677cdfd10SBram Moolenaar
11777cdfd10SBram Moolenaar" Greek letters {{{2
11877cdfd10SBram Moolenaarif s:tex_conceal =~ 'g'
11977cdfd10SBram Moolenaar  let s:hd = 1
12077cdfd10SBram Moolenaarelse
12177cdfd10SBram Moolenaar  let s:hd = 0
12277cdfd10SBram Moolenaarendif
12377cdfd10SBram Moolenaarcall s:HideSymbol('\\alpha\>',    'α', s:hd)
12477cdfd10SBram Moolenaarcall s:HideSymbol('\\beta\>',     'β', s:hd)
12577cdfd10SBram Moolenaarcall s:HideSymbol('\\gamma\>',    'γ', s:hd)
12677cdfd10SBram Moolenaarcall s:HideSymbol('\\delta\>',    'δ', s:hd)
12777cdfd10SBram Moolenaarcall s:HideSymbol('\\epsilon\>',  'ϵ', s:hd)
12877cdfd10SBram Moolenaarcall s:HideSymbol('\\zeta\>',     'ζ', s:hd)
12977cdfd10SBram Moolenaarcall s:HideSymbol('\\eta\>',      'η', s:hd)
13077cdfd10SBram Moolenaarcall s:HideSymbol('\\theta\>',    'θ', s:hd)
13177cdfd10SBram Moolenaarcall s:HideSymbol('\\iota\>',     'ι', s:hd)
13277cdfd10SBram Moolenaarcall s:HideSymbol('\\kappa\>',    'κ', s:hd)
13377cdfd10SBram Moolenaarcall s:HideSymbol('\\lambda\>',   'λ', s:hd)
13477cdfd10SBram Moolenaarcall s:HideSymbol('\\mu\>',       'μ', s:hd)
13577cdfd10SBram Moolenaarcall s:HideSymbol('\\nu\>',       'ν', s:hd)
13677cdfd10SBram Moolenaarcall s:HideSymbol('\\xi\>',       'ξ', s:hd)
13777cdfd10SBram Moolenaarcall s:HideSymbol('\\pi\>',       'π', s:hd)
13877cdfd10SBram Moolenaarcall s:HideSymbol('\\rho\>',      'ρ', s:hd)
13977cdfd10SBram Moolenaarcall s:HideSymbol('\\sigma\>',    'σ', s:hd)
14077cdfd10SBram Moolenaarcall s:HideSymbol('\\tau\>',      'τ', s:hd)
14177cdfd10SBram Moolenaarcall s:HideSymbol('\\upsilon\>',  'υ', s:hd)
14277cdfd10SBram Moolenaarcall s:HideSymbol('\\phi\>',      'ϕ', s:hd)
14377cdfd10SBram Moolenaarcall s:HideSymbol('\\chi\>',      'χ', s:hd)
14477cdfd10SBram Moolenaarcall s:HideSymbol('\\psi\>',      'ψ', s:hd)
14577cdfd10SBram Moolenaarcall s:HideSymbol('\\omega\>',    'ω', s:hd)
14677cdfd10SBram Moolenaarcall s:HideSymbol('\\Gamma\>',    'Γ', s:hd)
14777cdfd10SBram Moolenaarcall s:HideSymbol('\\Delta\>',    'Δ', s:hd)
14877cdfd10SBram Moolenaarcall s:HideSymbol('\\Theta\>',    'Θ', s:hd)
14977cdfd10SBram Moolenaarcall s:HideSymbol('\\Lambda\>',   'Λ', s:hd)
15077cdfd10SBram Moolenaarcall s:HideSymbol('\\Xi\>',       'Ξ', s:hd)
15177cdfd10SBram Moolenaarcall s:HideSymbol('\\Pi\>',       'Π', s:hd)
15277cdfd10SBram Moolenaarcall s:HideSymbol('\\Sigma\>',    'Σ', s:hd)
15377cdfd10SBram Moolenaarcall s:HideSymbol('\\Upsilon\>',  'Υ', s:hd)
15477cdfd10SBram Moolenaarcall s:HideSymbol('\\Phi\>',      'Φ', s:hd)
15577cdfd10SBram Moolenaarcall s:HideSymbol('\\Psi\>',      'Ψ', s:hd)
15677cdfd10SBram Moolenaarcall s:HideSymbol('\\Omega\>',    'Ω', s:hd)
15777cdfd10SBram Moolenaardelfunction s:HideSymbol
15877cdfd10SBram Moolenaar" Note: The letters 'omicron', 'Alpha', 'Beta', 'Epsilon', 'Zeta', 'Eta',
15977cdfd10SBram Moolenaar" 'Iota', 'Kappa', 'Mu', 'Nu', 'Omicron', 'Rho', 'Tau' and 'Chi' are listed
16077cdfd10SBram Moolenaar" at src/library/tools/R/Rd2txt.R because they are valid in HTML, although
16177cdfd10SBram Moolenaar" they do not make valid LaTeX code (e.g. &Alpha; versus \Alpha).
162362e1a30SBram Moolenaar
163362e1a30SBram Moolenaar" Links {{{1
16477cdfd10SBram Moolenaarsyn region rhelpLink matchgroup=rhelpType start="\\link{" end="}" contained keepend extend
16577cdfd10SBram Moolenaarsyn region rhelpLink matchgroup=rhelpType start="\\link\[.\{-}\]{" end="}" contained keepend extend
16677cdfd10SBram Moolenaarsyn region rhelpLink matchgroup=rhelpType start="\\linkS4class{" end="}" contained keepend extend
16777cdfd10SBram Moolenaarsyn region rhelpLink matchgroup=rhelpType start="\\url{" end="}" contained keepend extend
16877cdfd10SBram Moolenaarsyn region rhelpLink matchgroup=rhelpType start="\\href{" end="}" contained keepend extend
16977cdfd10SBram Moolenaarsyn region rhelpLink matchgroup=rhelpType start="\\figure{" end="}" contained keepend extend
170662db673SBram Moolenaar
171662db673SBram Moolenaar" Verbatim like {{{1
172db6ea063SBram Moolenaarsyn region rhelpVerbatim matchgroup=rhelpType start="\\samp{" skip='\\\@1<!{.\{-}\\\@1<!}' end="}" contains=rhelpSpecialChar,rhelpComment
173db6ea063SBram Moolenaarsyn region rhelpVerbatim matchgroup=rhelpType start="\\verb{" skip='\\\@1<!{.\{-}\\\@1<!}' end="}" contains=rhelpSpecialChar,rhelpComment
17477cdfd10SBram Moolenaar
17577cdfd10SBram Moolenaar" Equation {{{1
17677cdfd10SBram Moolenaarsyn region rhelpEquation matchgroup=rhelpType start="\\eqn{" skip='\\\@1<!{.\{-}\\\@1<!}' end="}" contains=rhelpMathSymb,rhelpMathOp,rhelpRegion contained keepend extend
17777cdfd10SBram Moolenaarsyn region rhelpEquation matchgroup=rhelpType start="\\deqn{" skip='\\\@1<!{.\{-}\\\@1<!}' end="}" contains=rhelpMathSymb,rhelpMathOp,rhelpRegion contained keepend extend
178362e1a30SBram Moolenaar
179362e1a30SBram Moolenaar" Type Styles {{{1
180362e1a30SBram Moolenaarsyn match rhelpType		"\\emph\>"
181362e1a30SBram Moolenaarsyn match rhelpType		"\\strong\>"
182362e1a30SBram Moolenaarsyn match rhelpType		"\\bold\>"
183362e1a30SBram Moolenaarsyn match rhelpType		"\\sQuote\>"
184362e1a30SBram Moolenaarsyn match rhelpType		"\\dQuote\>"
185362e1a30SBram Moolenaarsyn match rhelpType		"\\preformatted\>"
186362e1a30SBram Moolenaarsyn match rhelpType		"\\kbd\>"
187362e1a30SBram Moolenaarsyn match rhelpType		"\\file\>"
188362e1a30SBram Moolenaarsyn match rhelpType		"\\email\>"
18977cdfd10SBram Moolenaarsyn match rhelpType		"\\enc\>"
190362e1a30SBram Moolenaarsyn match rhelpType		"\\var\>"
191362e1a30SBram Moolenaarsyn match rhelpType		"\\env\>"
192362e1a30SBram Moolenaarsyn match rhelpType		"\\option\>"
193362e1a30SBram Moolenaarsyn match rhelpType		"\\command\>"
19481af9250SBram Moolenaarsyn match rhelpType		"\\newcommand\>"
19581af9250SBram Moolenaarsyn match rhelpType		"\\renewcommand\>"
196362e1a30SBram Moolenaarsyn match rhelpType		"\\dfn\>"
197362e1a30SBram Moolenaarsyn match rhelpType		"\\cite\>"
198362e1a30SBram Moolenaarsyn match rhelpType		"\\acronym\>"
19977cdfd10SBram Moolenaarsyn match rhelpType		"\\doi\>"
200362e1a30SBram Moolenaar
201362e1a30SBram Moolenaar" rhelp sections {{{1
202362e1a30SBram Moolenaarsyn match rhelpSection		"\\encoding\>"
203362e1a30SBram Moolenaarsyn match rhelpSection		"\\title\>"
20481af9250SBram Moolenaarsyn match rhelpSection		"\\item\>"
205362e1a30SBram Moolenaarsyn match rhelpSection		"\\description\>"
206362e1a30SBram Moolenaarsyn match rhelpSection		"\\concept\>"
207362e1a30SBram Moolenaarsyn match rhelpSection		"\\arguments\>"
208362e1a30SBram Moolenaarsyn match rhelpSection		"\\details\>"
209362e1a30SBram Moolenaarsyn match rhelpSection		"\\value\>"
210362e1a30SBram Moolenaarsyn match rhelpSection		"\\references\>"
211362e1a30SBram Moolenaarsyn match rhelpSection		"\\note\>"
212362e1a30SBram Moolenaarsyn match rhelpSection		"\\author\>"
213362e1a30SBram Moolenaarsyn match rhelpSection		"\\seealso\>"
214362e1a30SBram Moolenaarsyn match rhelpSection		"\\keyword\>"
215362e1a30SBram Moolenaarsyn match rhelpSection		"\\docType\>"
216362e1a30SBram Moolenaarsyn match rhelpSection		"\\format\>"
217362e1a30SBram Moolenaarsyn match rhelpSection		"\\source\>"
218362e1a30SBram Moolenaarsyn match rhelpSection    "\\itemize\>"
219362e1a30SBram Moolenaarsyn match rhelpSection    "\\describe\>"
220362e1a30SBram Moolenaarsyn match rhelpSection    "\\enumerate\>"
221362e1a30SBram Moolenaarsyn match rhelpSection    "\\item "
222362e1a30SBram Moolenaarsyn match rhelpSection    "\\item$"
223362e1a30SBram Moolenaarsyn match rhelpSection		"\\tabular{[lcr]*}"
224362e1a30SBram Moolenaarsyn match rhelpSection		"\\dontrun\>"
225362e1a30SBram Moolenaarsyn match rhelpSection		"\\dontshow\>"
226362e1a30SBram Moolenaarsyn match rhelpSection		"\\testonly\>"
227446cb837SBram Moolenaarsyn match rhelpSection		"\\donttest\>"
228362e1a30SBram Moolenaar
229362e1a30SBram Moolenaar" Freely named Sections {{{1
23081af9250SBram Moolenaarsyn region rhelpFreesec matchgroup=Delimiter start="\\section{" matchgroup=Delimiter transparent end="}"
23181af9250SBram Moolenaarsyn region rhelpFreesubsec matchgroup=Delimiter start="\\subsection{" matchgroup=Delimiter transparent end="}"
232362e1a30SBram Moolenaar
233662db673SBram Moolenaarsyn match rhelpDelimiter "{\|\[\|(\|)\|\]\|}"
234662db673SBram Moolenaar
235f9393ef5SBram Moolenaar" R help file comments {{{1
23681af9250SBram Moolenaarsyn match rhelpComment /%.*$/
237362e1a30SBram Moolenaar
238362e1a30SBram Moolenaar" Error {{{1
23977cdfd10SBram Moolenaarsyn region rhelpRegion matchgroup=Delimiter start=/(/ matchgroup=Delimiter end=/)/ contains=@Spell,rhelpCodeSpecial,rhelpComment,rhelpDelimiter,rhelpDots,rhelpFreesec,rhelpFreesubsec,rhelpIdentifier,rhelpKeyword,rhelpLink,rhelpPreProc,rhelpRComment,rhelpRcode,rhelpRegion,rhelpS4method,rhelpSection,rhelpSexpr,rhelpSpecialChar,rhelpString,rhelpType,rhelpVerbatim,rhelpEquation
24077cdfd10SBram Moolenaarsyn region rhelpRegion matchgroup=Delimiter start=/{/ matchgroup=Delimiter end=/}/ contains=@Spell,rhelpCodeSpecial,rhelpComment,rhelpDelimiter,rhelpDots,rhelpFreesec,rhelpFreesubsec,rhelpIdentifier,rhelpKeyword,rhelpLink,rhelpPreProc,rhelpRComment,rhelpRcode,rhelpRegion,rhelpS4method,rhelpSection,rhelpSexpr,rhelpSpecialChar,rhelpString,rhelpType,rhelpVerbatim,rhelpEquation
24177cdfd10SBram Moolenaarsyn region rhelpRegion matchgroup=Delimiter start=/\[/ matchgroup=Delimiter end=/]/ contains=@Spell,rhelpCodeSpecial,rhelpComment,rhelpDelimiter,rhelpDots,rhelpFreesec,rhelpFreesubsec,rhelpIdentifier,rhelpKeyword,rhelpLink,rhelpPreProc,rhelpRComment,rhelpRcode,rhelpRegion,rhelpS4method,rhelpSection,rhelpSexpr,rhelpSpecialChar,rhelpString,rhelpType,rhelpVerbatim,rhelpEquation
242362e1a30SBram Moolenaarsyn match rhelpError      /[)\]}]/
243362e1a30SBram Moolenaarsyn match rhelpBraceError /[)}]/ contained
244362e1a30SBram Moolenaarsyn match rhelpCurlyError /[)\]]/ contained
245362e1a30SBram Moolenaarsyn match rhelpParenError /[\]}]/ contained
246362e1a30SBram Moolenaar
247db6ea063SBram Moolenaarsyntax sync match rhelpSyncRcode grouphere rhelpRcode "\\examples{"
248db6ea063SBram Moolenaar
249362e1a30SBram Moolenaar" Define the default highlighting {{{1
25077cdfd10SBram Moolenaarhi def link rhelpVerbatim    String
25177cdfd10SBram Moolenaarhi def link rhelpDelimiter   Delimiter
25277cdfd10SBram Moolenaarhi def link rhelpIdentifier  Identifier
25377cdfd10SBram Moolenaarhi def link rhelpString      String
25477cdfd10SBram Moolenaarhi def link rhelpCodeSpecial Special
25577cdfd10SBram Moolenaarhi def link rhelpKeyword     Keyword
25677cdfd10SBram Moolenaarhi def link rhelpDots        Keyword
25777cdfd10SBram Moolenaarhi def link rhelpLink        Underlined
25877cdfd10SBram Moolenaarhi def link rhelpType        Type
25977cdfd10SBram Moolenaarhi def link rhelpSection     PreCondit
26077cdfd10SBram Moolenaarhi def link rhelpError       Error
26177cdfd10SBram Moolenaarhi def link rhelpBraceError  Error
26277cdfd10SBram Moolenaarhi def link rhelpCurlyError  Error
26377cdfd10SBram Moolenaarhi def link rhelpParenError  Error
26477cdfd10SBram Moolenaarhi def link rhelpPreProc     PreProc
26577cdfd10SBram Moolenaarhi def link rhelpDelimiter   Delimiter
26677cdfd10SBram Moolenaarhi def link rhelpComment     Comment
26777cdfd10SBram Moolenaarhi def link rhelpRComment    Comment
26877cdfd10SBram Moolenaarhi def link rhelpSpecialChar SpecialChar
26977cdfd10SBram Moolenaarhi def link rhelpMathSymb    Special
27077cdfd10SBram Moolenaarhi def link rhelpMathOp      Operator
271362e1a30SBram Moolenaar
272362e1a30SBram Moolenaarlet   b:current_syntax = "rhelp"
273db6ea063SBram Moolenaar
274db6ea063SBram Moolenaar" vim: foldmethod=marker sw=2
275