2006-06-08 16:49:57 +04:00
|
|
|
## Here is an example for Java.
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2006-06-01 21:23:28 +04:00
|
|
|
syntax "java" "\.java$"
|
2011-02-13 07:23:10 +03:00
|
|
|
magic "Java "
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2006-06-01 21:23:28 +04:00
|
|
|
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
|
|
|
|
color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
|
2015-02-21 13:34:15 +03:00
|
|
|
color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native)\>"
|
|
|
|
color cyan "\<(package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
|
2006-06-01 21:23:28 +04:00
|
|
|
color red ""[^"]*""
|
|
|
|
color yellow "\<(true|false|null)\>"
|
|
|
|
color blue "//.*"
|
|
|
|
color blue start="/\*" end="\*/"
|
|
|
|
color brightblue start="/\*\*" end="\*/"
|
|
|
|
color ,green "[[:space:]]+$"
|