1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-14 05:04:16 +01:00

Merge pull request #262 from msfjarvis/msf/java-comments-fix

java: Enforce atleast one leading space for comments
This commit is contained in:
Anthony Scopatz 2019-11-10 12:13:49 -05:00 committed by GitHub
commit aa46e20170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:]]+$"