micro/runtime/syntax/vala.micro
Zachary Yedidia 8803d93872 Make all filetype names lowercase
This may be a breaking change if you are using a plugin that
checks the filetype. All the default plugins are now updated,
just make the filetype you were checking for previously all
lowercase.
2016-08-25 15:48:02 -04:00

19 lines
789 B
Text

syntax "vala" "\.vala$"
color green "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
color brightblue "[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 brightred "\<(goto|break|continue)\>"
color brightcyan "\<(true|false)\>"
color blue "\<([0-9]+)\>"
color red "[-+/*=<>?:!~%&|]" "->"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightblack "(^|[[:space:]])//.*"
color brightblack start="/\*" end="\*/"
color brightwhite,cyan "TODO:?"
color ,green "[[:space:]]+$"
color ,red " + +| + +"