]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/java.micro
Small fix for space detection
[micro.git] / runtime / syntax / java.micro
1 ## Here is an example for Java.
2 ##
3 syntax "java" "\.java$"
4 color type "\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\b"
5 color statement "\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\b"
6 color type "\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\b"
7 color constant.string ""[^"]*""
8 color constant "\b(true|false|null)\b"
9 color constant.number "\b[0-9]+\b"
10 color comment "//.*"
11 color comment start="/\*" end="\*/"
12 color comment start="/\*\*" end="\*/"