2015-05-03 07:15:14 +02:00
|
|
|
syntax "php" "\.php[2345s~]?$"
|
|
|
|
|
|
|
|
color red "[-+/*=<>?:!~%&|]"
|
|
|
|
color brightmagenta "(<\?(php)?|\?>)"
|
|
|
|
color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
|
2015-05-03 08:08:51 +02:00
|
|
|
color white "[(]"
|
2015-05-03 07:15:14 +02:00
|
|
|
color green "\<(float|global|double|bool|char|int|enum|const)\>"
|
|
|
|
color brightblack "\<(class|new|private|public|function|for|foreach|if|while|do|var)\>"
|
|
|
|
color brightblack "\<(return|else|elseif|case|default|switch)\>"
|
|
|
|
color brightred "\<(goto|break|continue)\>"
|
|
|
|
color brightcyan "\<(true|false)\>"
|
|
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
color brightyellow "\$[A-Za-z_][A-Za-z0-9_]*"
|
|
|
|
color cyan "(^|[[:space:]])//.*"
|
|
|
|
color cyan start="/\*" end="\*/"
|
|
|
|
color brightwhite,cyan "TODO:?"
|
2015-05-03 08:08:51 +02:00
|
|
|
#color ,green "[[:space:]]+$"
|
2015-05-03 07:15:14 +02:00
|
|
|
# +EXTRALINT
|