2016-03-02 20:49:58 +01:00
|
|
|
syntax "Vala" "\.vala$"
|
2013-06-02 12:48:33 +02:00
|
|
|
|
|
|
|
color green "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
|
2015-10-24 13:55:49 +02:00
|
|
|
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
|
2013-06-02 12:48:33 +02:00
|
|
|
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 brightred "\<(goto|break|continue)\>"
|
|
|
|
color brightcyan "\<(true|false)\>"
|
|
|
|
color blue "\<([0-9]+)\>"
|
|
|
|
color red "[-+/*=<>?:!~%&|]" "->"
|
|
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
color brightblack "(^|[[:space:]])//.*"
|
2019-12-15 21:57:35 +01:00
|
|
|
color brightblack start="^\s*/\*" end="\*/"
|
2013-06-02 12:48:33 +02:00
|
|
|
color brightwhite,cyan "TODO:?"
|
|
|
|
color ,green "[[:space:]]+$"
|
2015-10-24 11:52:47 +02:00
|
|
|
color ,red " + +| + +"
|