1 ## Here is an example for nanorc files.
3 syntax "Nanorc" "\.?nanorc$"
6 ## Possible errors and parameters
7 icolor brightred "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
12 icolor yellow " yellow"
14 icolor magenta " magenta"
17 icolor normal " normal"
18 icolor brightblack " brightblack"
19 icolor brightred " brightred"
20 icolor brightgreen " brightgreen"
21 icolor brightyellow " brightyellow"
22 icolor brightblue " brightblue"
23 icolor brightmagenta " brightmagenta"
24 icolor brightcyan " brightcyan"
25 icolor brightwhite " brightwhite"
26 icolor brightnormal " brightnormal"
27 icolor ,black ",black "
29 icolor ,green ",green "
30 icolor ,yellow ",yellow "
32 icolor ,magenta ",magenta "
34 icolor ,white ",white "
35 icolor ,normal ",normal"
36 icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
37 icolor yellow "^[[:space:]]*(set|unset)[[:space:]]+(errorcolor|functioncolor|keycolor|numbercolor|selectedcolor|statuscolor|stripecolor|titlecolor)[[:space:]]+(bright)?(white|black|red|blue|green|yellow|magenta|cyan|normal)?(,(white|black|red|blue|green|yellow|magenta|cyan|normal))?\>"
40 icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(afterends|allow_insecure_backup|atblanks|autoindent|backup|backupdir|boldtext|brackets|breaklonglines|casesensitive|constantshow|cutfromcursor|emptyline|errorcolor|fill|functioncolor|guidestripe|historylog|jumpyscrolling|keycolor|linenumbers|locking|matchbrackets|morespace|mouse|multibuffer|noconvert|nohelp|nonewlines|nopauses|nowrap|numbercolor|operatingdir|positionlog|preserve|punct|quickblank|quotestr|rawsequences|rebinddelete|regexp|selectedcolor|showcursor|smarthome|smooth|softwrap|speller|statuscolor|stripecolor|suspend|tabsize|tabstospaces|tempfile|titlecolor|trimblanks|unix|view|whitespace|wordbounds|wordchars|zap)\>"
41 icolor green "^[[:space:]]*(bind|set|unset|syntax|header|include|magic)\>"
43 icolor white ""(\\.|[^"])*""
45 icolor brightblue "^[[:space:]]*#.*$"
46 icolor cyan "^[[:space:]]*##.*$"
48 ## Trailing whitespace
49 icolor ,green "[[:space:]]+$"