nanorc/vala.nanorc
2018-08-09 10:09:19 +02:00

19 lines
753 B
Plaintext

syntax "Vala" "\.vala$"
color green "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
color blue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
color cyan "\<(for|if|while|do|else|case|default|switch|try|throw|catch)\>"
color cyan "\<(inline|typedef|struct|enum|union|extern|static|const)\>"
color cyan "\<(operator|new|delete|return|null)\>"
color cyan "\<(class|override|private|public|signal|this|weak)\>"
color red "\<(goto|break|continue)\>"
color cyan "\<(true|false)\>"
color blue "\<([0-9]+)\>"
color red "[-+/*=<>?:!~%&|]" "->"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color black "(^|[[:space:]])//.*"
color black start="/\*" end="\*/"
color white,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"