go.nanorc (1071B)
1 syntax "GO" "\.go$" 2 3 #color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]" 4 color brightblue "\<(append|cap|close|complex|copy|delete|imag|len)\>" 5 color brightblue "\<(make|new|panic|print|println|protect|real|recover)\>" 6 color green "\<(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\>" 7 color green "\<(uintptr|byte|rune|string|interface|bool|map|chan|error)\>" 8 color cyan "\<(package|import|const|var|type|struct|func|go|defer|nil|iota)\>" 9 color cyan "\<(for|range|if|else|case|default|switch|return)\>" 10 color brightred "\<(go|goto|break|continue)\>" 11 color brightcyan "\<(true|false)\>" 12 #color red "[-+/*=<>!~%&|^]|:=" 13 #color blue "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'" 14 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'" 15 #color magenta "\\[abfnrtv'\"\\]" 16 #color magenta "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})" 17 #color yellow "`[^`]*`" 18 color yellow start="`" end="`" 19 color brightblack "(^|[[:space:]])//.*" 20 color brightblack start="/\*" end="\*/" 21 #color brightwhite,cyan "TODO:?" 22 color ,green "[[:space:]]+$" 23 #color ,red " + +| + +"