mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
java: Enforce atleast one leading space for comments
This might not be the best way to approach the problem Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
1ba2698c05
commit
ed2409da61
|
@ -7,7 +7,7 @@ color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interfa
|
||||||
color red ""[^"]*""
|
color red ""[^"]*""
|
||||||
color yellow "\<(true|false|null)\>"
|
color yellow "\<(true|false|null)\>"
|
||||||
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"
|
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"
|
||||||
color blue "//.*"
|
color blue " //.*"
|
||||||
color blue start="/\*" end="\*/"
|
color blue start="/\*" end="\*/"
|
||||||
color brightblue start="/\*\*" end="\*/"
|
color brightblue start="/\*\*" end="\*/"
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user