nanorc/vala.nanorc

19 lines
753 B
Plaintext
Raw Normal View History

syntax "Vala" "\.vala$"
color green "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
2018-08-09 10:09:19 +02:00
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)\>"
2018-08-09 10:09:19 +02:00
color red "\<(goto|break|continue)\>"
color cyan "\<(true|false)\>"
color blue "\<([0-9]+)\>"
color red "[-+/*=<>?:!~%&|]" "->"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
2018-08-09 10:09:19 +02:00
color black "(^|[[:space:]])//.*"
color black start="/\*" end="\*/"
color white,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"