mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 00:55:39 +01:00
a22ad89b77
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
19 lines
793 B
Plaintext
19 lines
793 B
Plaintext
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="^\s*/\*" end="\*/"
|
|
color brightwhite,cyan "TODO:?"
|
|
color ,green "[[:space:]]+$"
|
|
color ,red " + +| + +"
|