This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / java.nanorc
1 ## Here is an example for Java.
2 ##
3 syntax "Java" "\.java$"
4 magic "Java "
5 comment "//"
6
7 color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
8 color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
9 color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
10 color red ""[^"]*""
11 color yellow "\<(true|false|null)\>"
12 icolor yellow "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "\b0x[1-9a-f][0-9a-f]*\b"
13 color blue "^\s*//.*"
14 color blue start="/\*" end="\*/"
15 color brightblue start="/\*\*" end="\*/"
16 color ,green "[[:space:]]+$"