syntax "nanorc" "nanorc$" header "^syntax[[:space:]]+"[^"]*"[[:space:]]+"" # Resets everything back to plain text coloring. # Can be used at the start of each theme file. color white "^.*$" color blue "^i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" color red "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct|quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>" color red "^(bind|i?color|set|unset|syntax|header|magic)\>" color red "^unbind\>" color red "\<(start|end)=" color red "^~?(PLAIN|FUNCTION|STRING|COMMENT|TYPE|BOOLEAN|NUMBER|VARIABLE|OPERATOR|KEYWORD|MACRO|REGEXP|ESCAPE|DELIMITER|JUMP|WARNING|SECTION|TAG|ATTRIBUTE|CHARREF|PATH|URL|EMAIL|WHITESPACE):" color yellow "^~|[:=]" color red "^\+(TODO|LINT|STRING|BOOLEAN|FUNCTION|INI|(C|HASH)COMMENT|RESETALL|WHITESPACE|LONGLINE[0-9]*)([[:space:]]|$)" # Make white spaces plain again color white "[[:space:]]+" color green ""[^"]*"" color brightblue "^include[[:space:]]+.+?[[:space:]]*$" color red "^include\>" color yellow "\\.?" color brightblack "(^|[[:space:]])#([^{].*)?$" color ,red "[[:space:]]+$" color brightyellow " + +| + +" color brightyellow "^.{120}.+$" # rainbow indent color ,brightblack "^[[:space:]]{32}" color ,black "^[[:space:]]{30}" color ,brightblack "^[[:space:]]{28}" color ,black "^[[:space:]]{26}" color ,brightblack "^[[:space:]]{24}" color ,black "^[[:space:]]{22}" color ,brightblack "^[[:space:]]{20}" color ,black "^[[:space:]]{18}" color ,brightblack "^[[:space:]]{16}" color ,black "^[[:space:]]{14}" color ,brightblack "^[[:space:]]{12}" color ,black "^[[:space:]]{10}" color ,brightblack "^[[:space:]]{8}" color ,black "^[[:space:]]{6}" color ,brightblack "^[[:space:]]{4}" color ,black "^[[:space:]]{2}"