syntax "nanorc" "\.nanorc$" # set/unset color red "^(set|unset) (autoindent|backup|const|cut|historylog|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|preserve|regexp|smooth|suspend|tempfile|view)" color cyan "^set (fill|operatingdir|quotestr|speller|tabsize) \w*" color red "^set (fill|operatingdir|quotestr|speller|tabsize) " # syntax color cyan "^syntax .*" # colors: "(bright)?(white|black|red|blue|green|yellow|magenta|cyan)" color white,blue "white" color black,white "black" color red,white "red" color blue,white "blue" color green,white "green" color yellow,white "yellow" color magenta,white "magenta" color cyan,white "cyan" color brightwhite,blue "brightwhite" color brightblack,white "brightblack" color brightred,white "brightred" color brightblue,white "brightblue" color brightgreen,white "brightgreen" color brightyellow,white "brightyellow" color brightmagenta,white "brightmagenta" color brightcyan,white "brightcyan" # color color cyan "start=\w*" color cyan "end=\w*" # commands color blue "^(set|unset|syntax|color|icolor|include) " # comments color green "#.*$" #quotes #color yellow start="\"." end="[^((\\)*\)]\""